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

    xiaoxiao2021-12-14  20

    问题:MFC在添加gsoap生成的源文件到工程项目中,出现bug: MFC apps must not #include <windows.h>

    解决方案:经研究是因为在stdsoap2.cpp和XXXProxy.cpp文件中引入stdafx.h时没把#include "stdafx.h"放在第一行,所以解决方案就是应该首先包含头文件#include "stdafx.h",重新编译一切OK了!!!

    转载请注明原文地址: https://ju.6miu.com/read-962195.html

    最新回复(0)