C++/CLI程式啟動錯誤 Expression: _CrtIsValidHeapPointer(pUserData)
原因
The reason why you get this error is that a winforms application has a managed entry point. The initialization of the native global objects is done by the CRT (C RunTime) startup routine. Since in this case there is no CRT startup routine the MyBoard global object fails to initialize correctly.