2 ms·
You can also https://docs.microsoft.com/en-us/cpp/c-language/using-wmain?view=msvc-160 https://docs.microsoft.com/en-us/cpp/c-language/using-wmain?... e.g.
by malkia 5y ago
You can also https://docs.microsoft.com/en-us/cpp/c-language/using-wmain?view=msvc-160 https://docs.microsoft.com/en-us/cpp/c-language/using-wmain?...
e.g.
#pragma comment(linker, "/ENTRY:wmainCRTStartup")
int wmain(int argc, const wchar_t** argv)
{
...
// You can use this to actually replace WinMain with proper main (if you use /ENTRY:mainCRTStartup then it's just the good ole main).