Search This Blog

Tuesday, April 12, 2016

VS2015 migration issue

http://stackoverflow.com/questions/32291678/vs2015-migrated-project-compiles-but-wont-run-debug-assertion-failed

Another solution:

// int main(cli::array^ args)
int APIENTRY wWinMain(_In_ HINSTANCE hInstance,
_In_opt_ HINSTANCE hPrevInstance,
_In_ LPWSTR    lpCmdLine,
_In_ int       nCmdShow)
{
...
}

Blog Archive