Array<MyClass^>^ g_Array = ref new Array<MyClass^>
{
ref new MyClass(ref new Class1()),
ref new MyClass(ref new Class2()),
ref new MyClass(ref new Class3())
}
The exception happened before enter the constructor of Class1.
HERESULT:0x8001010E
Platform::WrongThreadException ^ at memory location .
I do not know how to fix it, could anyone tell me ?
Thanks :) !