我用 stl 和 atl 混合写 com ,debug 下调试通过,但是ReleaseMinDependency下连接出错

hbs_biscuit 2003-05-09 10:52:58
错误是:
Generating Code...
Linking...
Creating library ReleaseMinDependency/MessageCenter.lib and object ReleaseMinDependency/MessageCenter.exp
LIBCMT.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
ReleaseMinDependency/MessageCenter.dll : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.

我想是设置的问题,但不知道该怎样设
...全文
23 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
hbs_biscuit 2003-05-09
  • 打赏
  • 举报
回复
我也在网上找到了 ,不过还是谢谢你,分给你吧 ,交个朋友
rtdb 2003-05-09
  • 打赏
  • 举报
回复
Project->Setting->C/C++
Preprocessor definitions 中去掉 _MIN_CRT

24,854

社区成员

发帖
与我相关
我的任务
社区描述
C/C++ 工具平台和程序库
社区管理员
  • 工具平台和程序库社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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