用MFC编译总是出现这个错误:
fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>
解决方法:
在stdafx.h里面包含#include <afxwin.h>
OK
用MFC编译总是出现这个错误:
fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>
解决方法:
在stdafx.h里面包含#include <afxwin.h>
OK
转载于:https://my.oschina.net/lvguidong/blog/542294