MFC在添加gsoap生成的源文件到工程项目中,出现bug: MFC apps must not #include

问题:MFC在添加gsoap生成的源文件到工程项目中,出现bug: MFC apps must not #include <windows.h>windows 解决方案:经研究是由于在stdsoap2.cpp和XXXProxy.cpp文件中引入stdafx.h时没把#include "stdafx.h"放在第一行,因此解决方案就是应该首先包含头文件#include "stdafx.h",从新编译一
相关文章
相关标签/搜索