error: ...\Windows Kits\8.1\Include\um\combaseapi.h IUnknown is undefined 问题
链接:https://answers.unrealengine.com/questions/688112/ue417-will-not-compile-with-new-153-update.html
我用的是上述链接中的这种解决方案,不一定适用所有情况:在Windows Kits\8.1\Include\um\combaseapi.h文件中添加一行 interfaceI Unknown;
interfaceIUnknown;// ADD THIS LINE HERE
extern"C++"
{
template<typename T>_Post_equal_to_(pp)_Post_satisfies_(return== pp)void** IID_PPV_ARGS_Helper(T** pp)
{
#pragma prefast(suppress:6269,"Tool issue with unused static_cast")
static_cast<IUnknown*>(*pp);// make sure everyone derives from IUnknown
returnreinterpret_cast<void**>(pp);
}
}
error: ...\Windows Kits\8.1\Include\um\combaseapi.h IUnknown is undefined 问题相关推荐
- OpenGL开发时,fatal error C1083: 无法打开包括文件:“gl\glut.h”: No such file or directory...
本人使用的是vs2012,编写一个简单的opengl程序,运行的时候总是提示: fatal error C1083: 无法打开包括文件:"gl/glut.h": No such f ...
- 编译内核模块出现 include/linux/autoconf.h or include/config/auto.conf are missing.解决方法
宿主机:Ubuntu14.04 64位 编译arm内核模块出现如下错误 lxiang@lxiang-Aspire-5750G:~/workplace/arm_device_driver/code_en ...
- linux pclint配置_64位系统下,执行pclint检查的问题: Unable to open include file 'stddef.h'...
工作中碰到的一个问题: 项目的编译原来是在32位linux系统上进行编译的,并且是通过wine运行pclint.exe来进行lint检查. 现在要把项目放到docker container中进行编译, ...
- G:\Windows Kits\10\include\10.0.18362.0\ucrt\inttypes.h(96): error C2143: 语法错误: 缺少“{”(在“__cdecl”的前面)
(1)本机上安装了Microsoft Visual Studio2017 Community版 A.将D:\Program Files (x86)\Microsoft Visual Studio\20 ...
- error C1189: #error : WINDOWS.H already included. MFC apps must not #include windows.h
http://ghyan1208.blog.163.com/blog/static/162866676201072511746382/ 错误原因主要是因为#include <afx.h>这 ...
- VC6.0编写BHO #error : WINDOWS.H already included. MFC apps must not #include windows.h
VC6.0编写BHO #error : WINDOWS.H already included. MFC apps must not #include <windows.h> 在StdA ...
- windows 安装达梦数据库Python 报错:fatal error C1083: Cannot open include file: ‘DPI.h‘: No such file or direc
报错: c:\dmdms program\drivers\python\dmpython\strct.h(18): fatal error C1083: Cannot open include fil ...
- error RC1015: cannot open include file 'afxres.h'. 的解决办法
编译工程时出现如下错误: error RC1015: cannot open include file 'afxres.h'. 'afxres.h' 文件是跟MFC相关的,出现此种错误有两种解决办法: ...
- fatal error C1083: Cannot open include file: 'iostream.h': No such file or dire
错误: fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory 我的源代码测试回调函数 ...
最新文章
- 模式的秘密-观察者模式(四)
- javax/management/DynamicMBean
- 广度优先搜索 BFS算法
- 为VSFTP用户指定登录后的目录.原创测试通过.
- javascript之DOM总结
- 快速查看Gradle项目的类库依赖情况
- pytorch_basics Save and load model
- Wampserver 下载安装!!!踩坑总结系列
- sunplus 8202v iop源代码阅读笔记——2
- Android10(Q,API-29)以上版本无法在存储卡目录创建文件夹的问题
- 软件推荐之 QttabBar
- 吗 极域软件可以装win10_关于win10企业版在极域电子教室软件 v4.0 2015 豪华版的全屏控制下如何取得自由...
- struts1的actionform
- TSL2591STM32固件库开发
- graphpad饼状图_Graphpad绘制基因散点图
- 捋一捋二分类和多分类中的交叉熵损失函数
- 网卡和网卡的驱动程序
- @prometheus监控详解
- 昆仑通态人机界面与单片机通信实战教程一:工程界面的设计
- 我是那个逼走创业合伙人的CEO,我有话说!