PRB: Error LNK2001: '_WinMain@16': Unresolved External SymbolLast reviewed: September 26, 1997Article ID: Q125750 |
The information in this article applies to:
SYMPTOMSThe linker generates the following error, when you build an MFC application with UNICODE support using the Microsoft products listed at the beginning of this article:
msvcrt.lib(crtexew.obj) : error LNK2001: unresolved external symbol "_WinMain@16" CAUSEMFC UNICODE applications use wWinMainCRTStartup as the entry point.
RESOLUTIONIn the Output category of the Link field in the Project Settings dialog box, set the Entry Point Symbol to wWinMainCRTStartup.
STATUSThis behavior is by design.
MORE INFORMATIONThe above information is documented in Books Online under this structure:
|
Additional query words: 3.0 Unicode wWinMainCRTStartup
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |