比如,想在DuiLib里使用MFC中的CInternetSession
首先,将Project Properties->General->Use of MFC设置为Use MFC in a Shared DLL
然后包含头文件afxinet.h,必须在#include <UIlib.h>之前#include <afxinet.h>
本文共 218 字,大约阅读时间需要 1 分钟。
比如,想在DuiLib里使用MFC中的CInternetSession
首先,将Project Properties->General->Use of MFC设置为Use MFC in a Shared DLL
然后包含头文件afxinet.h,必须在#include <UIlib.h>之前#include <afxinet.h>
转载于:https://www.cnblogs.com/buyishi/p/10425154.html