|
-
March 29th, 1999, 05:24 PM
#1
Link error when compiling with _UNICODE
Hi, I'm trying to compile my program in UNICODE mode, but the linker spits out the following error:
Linking...
msvcrt.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16
Unicode_Release/Program.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.
What am I doing wrong here?
thanks,
-Matt
-
March 29th, 1999, 07:47 PM
#2
Re: Link error when compiling with _UNICODE
The following message is copied from MFC's Help on "LNK2001":
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 Build menu, then click the Link tab, and click Output in the Category box.) See Unicode Programming Summary.
Look at the help and good luck.
Allen
-
April 14th, 1999, 09:38 AM
#3
Re: Link error when compiling with _UNICODE
Can u check out the subsystem of ur compiler options. i'l like to know if u have cleared the error.
Mukthar
-
January 13th, 2000, 12:58 PM
#4
Re: Link error when compiling with _UNICODE
.
God does not play dice. - Einstein
Not only does God play dice, he sometimes throws them where they can't be seen. - Hawking
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
|