WinMain Unresolved External

Dear Dr. GUI:

I'm building a Visual C++ 2.0 OLE application with Unicode support. As soon as I add UNICODE and _UNICODE as global settings (for CRT and Win32 libraries) to my AppWizard output, the linker returns a "WinMain unresolved external" error message. Yes, I have read about the WinMain LPSTR parameter, and I have installed the Unicode MFC [Microsoft Foundation Class Library] libraries, but I am still unable to link my Unicode MFC application.

Dr. GUI replies:

Your linker project settings need to specify an entry-point symbol. Use wWinMainCRTStartup as the symbol. You can do this by selecting the Link tab in the Project Settings dialog box. Then, in the Category list box, select Output. You can now specify the entry-point symbol as indicated above.