查看单个帖子
旧 2009-04-18, 06:51 PM   #1
yang686526
高级会员
 
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
yang686526 向着好的方向发展
默认 【转帖】编译时出现 c1189: #error : windows.h already included. mfc apps m

编译时出现 c1189: #error : windows.h already included. mfc apps m
编译时出现 c1189: #error : windows.h already included. mfc apps must not #include <windows.h>
我在编译release版本程序时,会出现
d:\program files\microsoft visual studio .net\vc7\atlmfc\include\afxv_w32.h(18): fatal error c1189: #error : windows.h already included. mfc apps must not #include <windows.h>
但是在debug版本却可以编译成功。
原来可以编译成功的,后来也没有改代码,就不可以了。但是其他工程却还可以正常编译。各位大侠,能不能指导一下,为什么啊
yang686526离线中   回复时引用此帖
GDT自动化论坛(仅游客可见)