I have a working Visual Studio project that uses wmain()
as the entry-point. I would like to use main()
instead.
If I simply change the function signature to int main()
, I get:
error LNK2019: unresolved external symbol _wmain referenced in function "void __cdecl mainCRTStartupHelper(struct HINSTANCE__ *,unsigned short const *)"
What option do I need to change to make the link succeed?