December 01, 2004

EVC4 SP3 linker settings bug

If you get the following error with a freshly created project...
corelibc.lib(pegwmain.obj) : error LNK2019: unresolved external symbol _WinMain referenced in function _WinMainCRTStartup
Then you can fix it by changing your project's linker settings.
Project / Settings / Link / Entry-point symbol should be wWinMainCRTStartup, not WinMainCRTStartup. Remember all PPC apps are supposed to be Unicode, so you need the Unicode entry point.

No comments: