Symptom: Microsoft Visual C++ generates the link error:msvcrt.lib(crtexew.obj) : error LNK2001: unresolved external symbol [email protected](crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16Cause: The linker is looking for the entry point for a console application, but the application is being compiled and linked as a windows application (i.e. not a console application).This error has been observed after changing the project settings from using MBCS to UNICODE characters.Remedy: Under the project settings, under the ‘Link’ tab, category ‘output’, set the ‘Entry-point symbol’ to ‘wWinMainCRTStartup’. 转自: http://support.microsoft.com/default.aspx?scid=kb;EN-US;125750
装上vc里面的unicode插件,可以参考MSDN<缺少mfc42ud.lib文件> 要设置菜单Build->Set Active Configuration 选择Win32 Release 就可以了。 建议你用百度搜索一下吧
我是加上了UNICODE才出现这样的链接错误的
哪位大侠知道怎么找到这个文件,这个文件又是干什么用的
多谢了,分不够可以加!!
不过又出现了以下问题
msvcrt.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16
Release/GDsms8668.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.这是怎么回事?
Microsoft Visual C++ generates the link error:msvcrt.lib(crtexew.obj) : error LNK2001: unresolved external symbol [email protected](crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16Cause:
The linker is looking for the entry point for a console application, but the application is being compiled and linked as a windows application (i.e. not a console application).This error has been observed after changing the project settings from using MBCS to UNICODE characters.Remedy:
Under the project settings, under the ‘Link’ tab, category ‘output’, set the ‘Entry-point symbol’ to ‘wWinMainCRTStartup’.
转自:
http://support.microsoft.com/default.aspx?scid=kb;EN-US;125750
要设置菜单Build->Set Active Configuration
选择Win32 Release 就可以了。
建议你用百度搜索一下吧
zoid()可以去另外一个帖子接分