请教高手:我在console工程中,在.cpp和.h文件中多处使用到MFC里的类,于是包含了如下的一些头文件:#include "afxdb.h"
#include "odbcinst.h"#include "atlstr.h"使用到的类包括: CSting, CFile, CDatabase...在调试的时候出现如下的错误:
fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>请教高手该如何解决??
谢谢~~
#include "odbcinst.h"#include "atlstr.h"使用到的类包括: CSting, CFile, CDatabase...在调试的时候出现如下的错误:
fatal error C1189: #error : WINDOWS.H already included. MFC apps must not #include <windows.h>请教高手该如何解决??
谢谢~~
#include "afxdb.h"
#include "odbcinst.h" #include "atlstr.h"
下面这三个头文件我测试过了都没有问题的
#include "afxdb.h"
#include "odbcinst.h" #include "atlstr.h"