新手提问:我在用 Win32 Unicode Release MinDependency 编译时出错

zhaiyun 2003-02-28 04:06:56
Linking...
Creating library ReleaseUMinDependency/TTOSUI.lib and object ReleaseUMinDependency/TTOSUI.exp
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
ReleaseUMinDependency/TTOSUI.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

请教该如何解决?!
...全文
29 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
approach 2003-02-28
  • 打赏
  • 举报
回复
Remove the ATL_MIN_CRT processor definition from the project settings for all configurations. This is a very common error.
kingzai 2003-02-28
  • 打赏
  • 举报
回复
Remove _ATL_MIN_CRT from the list of preprocessor defines to allow CRT
startup code to be included
Aizz 2003-02-28
  • 打赏
  • 举报
回复
stdafx.h 加入:
#undef _ATL_MIN_CRT

3,245

社区成员

发帖
与我相关
我的任务
社区描述
ATL,Active Template Library活动(动态)模板库,是一种微软程序库,支持利用C++语言编写ASP代码以及其它ActiveX程序。
社区管理员
  • ATL/ActiveX/COM社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧