WINDOWS.H already included error
问题 I get an error when trying to compile a small c++ program Error 87 fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include c:\program files\microsoft visual studio 9.0\vc\atlmfc\include\afxv_w32.h 16 I made sure that the windows.h was not included in any of the project files I have. I am using a visual studio 2008 IDE Any reason why ? 回答1: reason why is because something is including Windows.h: the compiler is not lying to you. Go to project Properties-