需要在stdafx.h里面加
#include <afxwin.h> // MFC core and standard components
#include <afxext.h> // MFC extensions
#include "wininet.h " //you should Add ,位置要对啊
#include <afxdisp.h> // MFC Automation classes
#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
#ifndef _AFX_NO_AFXCMN_SUPPORT
#include <afxcmn.h> // MFC support for Windows Common Controls
#endif // _AFX_NO_AFXCMN_SUPPORT
#include <afxconv.h> //you should Add
本文详细介绍了如何在MFC项目中正确配置头文件的引入顺序,确保程序能够正常编译和运行。通过遵循这些步骤,可以有效避免由于依赖冲突导致的问题。

被折叠的 条评论
为什么被折叠?



