fatal error C1189: #error : WINDOWS.H already incl

        用MFC编译总是出现这个错误:

fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>


解决方法:

在stdafx.h里面包含#include <afxwin.h> 



OK

你可能感兴趣的:(fatal error C1189: #error : WINDOWS.H already incl)