首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

#include <atlhost.h>时候出错,提示如下。该怎么解决

2012-02-24 
#include atlhost.h时候出错,提示如下。提示如下:fatal error C1189: #error :atlhost.h requires Hostin

#include <atlhost.h>时候出错,提示如下。
提示如下:fatal error C1189: #error : atlhost.h requires Hosting support (_ATL_NO_HOSTING is defined).

这个问题怎么解决?

[解决办法]
不能定义 _ATL_NO_HOSTING。在include之前先undef
[解决办法]
楼上正解

热点排行