惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
IT之家
IT之家
博客园_首页
人人都是产品经理
人人都是产品经理
博客园 - Franky
I
InfoQ
Recent Announcements
Recent Announcements
P
Proofpoint News Feed
H
Hackread – Cybersecurity News, Data Breaches, AI and More
GbyAI
GbyAI
大猫的无限游戏
大猫的无限游戏
aimingoo的专栏
aimingoo的专栏
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
月光博客
月光博客
Microsoft Security Blog
Microsoft Security Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
B
Blog RSS Feed
MongoDB | Blog
MongoDB | Blog
雷峰网
雷峰网
博客园 - 聂微东
N
Netflix TechBlog - Medium
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The GitHub Blog
The GitHub Blog
D
Docker

博客园 - dtor

TD-SCDMA小区初搜方法研究 (转) 面试题 the beginning of gidplus 关闭进程. - dtor - 博客园 vc任务栏隐藏 sql 连接字符串 xml 留言本 - dtor - 博客园 浮动 div javascript 读写xml --2 - dtor VC编译优化设置 javascript读写 xml - dtor - 博客园 vector 转 array 线程基础知识 VC++ 环 境 下 利 用 管 道 和 线 程 实 现 进 程 间 通 信 Windows管道技术 Windows下多线程编程技术及其实现 ATL布幔下的秘密之窗口类的秘密(果冻) atl中的mfc线程 VC制作工具条
error LNK2001: unresolved external symbol _WinMain@16
dtor · 2006-08-07 · via 博客园 - dtor

Cry about...
MS-Windows Troubleshooting


error LNK2001: unresolved external symbol _WinMain@16


Symptom:

Microsoft Visual C++ generates the link error:

msvcrt.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16

or

msvcrtd.lib(crtexew.obj) : error LNK2001: unresolved external symbol _WinMain@16

Cause:

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’.