C1083: Cannot open type library file: 'msxml.dll': No such file or directory
来源:互联网 发布:翻页电子相册制作软件 编辑:程序博客网 时间:2024/06/15 23:53
win2008或者windos7下用vs2005编译 #import "msxml.dll" named_guids raw_interfaces_only
编译失败 fatal error C1083: Cannot open type library file: 'msxml.dll': No such file or directory
将c:/WINDOWS/system32/msxml.dll 拷贝到win2008下的系统目录下即可,win2008/windows7下自带的是msxml6.dll
开发环境是xp,没问题,可是代码入库后,构建机器上编译的时候报上述错误,最简单的办法就是上述办法
错误代码来自一段比较老的代码:
#import "msxml.dll" named_guids raw_interfaces_onlyMSXML::IXMLDOMDocument *m_pXMLDoc;
现在的做法是
CComPtr<IXMLDOMDocument> m_pXmlDocument;
- C1083: Cannot open type library file: 'msxml.dll': No such file or directory
- 解决Win7 Cannot open type library file: 'msxml.dll': No such file or directory
- fatal error C1083: Cannot open precompiled header file: 'Debug/xxx.pch': No such file or directory
- fatal error C1083: Cannot open include file: 'ProMenu.h': No such file or directory
- fatal error C1083 Cannot open include file 'iostream.h' No such file or directory 的解决方法
- fatal error C1083: Cannot open include file: 'stdlib': No such file or directory
- fatal error C1083 Cannot open include file 'iostream.h' No such file or directory 的解决方法
- fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
- fatal error C1083: Cannot open precompiled header file: 'Debug/HelloWorld.pch': No such file or directory
- fatal error C1083: Cannot open precompiled header file: 'Debug/xxoo.pch': No such file or directory
- fatal error C1083: Cannot open include file: 'htmlhelp.h': No such file or directory 解决办法
- fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
- fatal error C1083: Cannot open precompiled header file: 'Debug\xxoo.pch': No such file or directory
- fatal error C1083: Cannot open include file: 'windows.h': No such file or directory
- fatal error C1083: Cannot open include file: 'avformat.h': No such file or directory
- fatal error C1083: Cannot open include file: 'dshow.h': No such file or directory
- fatal error C1083: Cannot open include file: 'gl\glext.h': No such file or directory
- error C1083: Cannot open include file: 'uxtheme.h': No such file or directory
- IEEE1394技术与原理简介
- 开发人员一定要加入收藏夹的网站
- show()与showDialog()的区别 窗体传值
- 12.14
- 关于VC中的DLL的编程
- C1083: Cannot open type library file: 'msxml.dll': No such file or directory
- 小记
- 在 Debian 上安装和配置 Xen
- IE7浏览器点击放大镜 能弹出窗口,提示“网页上 错误”;
- mysql版本详解
- 使用DES进行加密解密
- USACO算法系列二十二——fence9
- ant 原理
- 调用的方法Embed可能未定义