在编译MFC程序时,将字符集由ANSI改为UNICODE(编译选项中添加_UNICODE预处理定义)后会遇到“error LNK2001: unresolved external symbol _WinMain@16”问题,解决方法为:Under the project settings, under the ‘Link’ tab, category ‘output’, set the ‘Entry-point symbol’ to ‘wWinMainCRTStartup’.
error LNK2001: unresolved external symbol _WinMain@16的解决办法
最新推荐文章于 2020-11-27 12:13:40 发布
本文介绍了解决MFC程序在从ANSI字符集转换到UNICODE字符集时遇到的“error LNK2001: unresolved external symbol _WinMain@16”错误的方法。解决方案是在项目的链接设置中更改入口点符号。

5867

被折叠的 条评论
为什么被折叠?



