几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量

几何尺寸与公差论坛------致力于产品几何量公差标准GD&T (GDT:ASME)|New GPS(ISO)研究/CAD设计/CAM加工/CMM测量 (http://www.dimcax.com/hust/index.php)
-   ObjectARX(C++) (http://www.dimcax.com/hust/forumdisplay.php?f=34)
-   -   【转帖】编译时出现 c1189: #error : windows.h already included. mfc apps m (http://www.dimcax.com/hust/showthread.php?t=8012)

yang686526 2009-04-18 06:51 PM

【转帖】编译时出现 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版本却可以编译成功。
原来可以编译成功的,后来也没有改代码,就不可以了。但是其他工程却还可以正常编译。各位大侠,能不能指导一下,为什么啊


所有的时间均为北京时间。 现在的时间是 11:42 PM.