use of undefined type 'IActiveDesktop'
来源:互联网 发布:网络恐怖主义 编辑:程序博客网 时间:2024/06/06 09:42
You could try
#include <wininet.h>
#include <shlobj.h>//这样的顺序就可以通过编译了
as I believe there are things in shlobj.h that rely on wininet.h being included first.
After that, you might also consider that by default, #import generates definitions inside a namespace, so if that was where IActiveDesktop was being defined, it wouldn't be in the global namespace.
You can look at the generated tli/tlh files to see what the namespace is called
- use of undefined type 'IActiveDesktop'
- 错误: use of undefined type 'boost::STATIC_ASSERTION_FAILURE'
- ado控件 use of undefined type 'C_Recordset'
- invalid use of undefined type 'struct xxxx'以及引申
- error C2027: use of undefined type 'A' see declaration of 'A'
- 编译openssl库时出现“error C2027: use of undefined type 'in6_addr'”的解决方法
- Use of undefined constant OCI_COMMIT_ON_SUCCESS
- Notice: Use of undefined constant
- Use of undefined constant FTP_BINARY
- Use of undefined constant ws1
- IActiveDesktop
- PHP Notice: Use of undefined constant
- PHP “Notice: Use of undefined constant ”
- Notice: Use of undefined constant ShareErrorsFromSession
- Notice: Use of undefined constant id
- PHP Notice: Use of undefined constant variable
- invalid use of incomplete type ‘struct QLineEdit’
- invalid use of incomplete type 报
- Jquery基础学习笔记(2)-文档处理
- zk 打印问题
- asp.net AJAX 验证用户名是否存在 -Jquery
- excel vba(编程编)
- 如何使用一个提供单接口的COM对象QueryInterface()函数
- use of undefined type 'IActiveDesktop'
- android develop adb modify hosts
- TreeView问题
- 编译性语言、解释性语言和脚本语言
- TCC89x的NAND隐藏区域的设置和读写
- 【转载】Flex垃圾回收和性能优化的一些总结
- 必看!这八则故事教会你如何理财!
- MySQL数据库优化处理实现千万级快速分页分析
- asp.net AJAX 验证用户名是否存在 -Jquery