|
-
April 20th, 1999, 01:41 AM
#1
Link error with #define _UNICODE
Hi all,
I'm trying using the unicode property. But in the link process I got the following error:
msvcrtd.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16
Debug/etrangevision.exe : fatal error LNK1120: 1 unresolved externals
What means this error.
Thanks in advance
-
April 20th, 1999, 04:51 AM
#2
Re: Link error with #define _UNICODE
If you look up LNK2001 in the Help you will find the following paragraph.
"If you are using Unicode and MFC, you will get an unresolved external on _WinMain@16 if you don’t create an entrypoint to wWinMainCRTStartup. Use the /ENTRY option or type this value in the Project Settings dialog box. (To find this option in the development environment, click Settings on the Project menu, then click the Link tab, and click Output in the Category box.) "
This will solve the problem.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|