无法打开类型库文件:'msxml4.dll':没有这样的文件或目录 [英] Cannot open type library file: 'msxml4.dll': No such file or directory
本文介绍了无法打开类型库文件:'msxml4.dll':没有这样的文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用visual 2010.当我尝试在我的代码中导入这个dll:
Hi,
I'm using visual 2010. When I am trying to import this dll in my code:
#import <msxml4.dll> rename_namespace("MSXML") named_guids
但我收到此错误:
But i am getting this error:
fatal error C1083: Cannot open type library file: 'msxml4.dll': No such file or directory
我该怎么办?
谢谢
What should i do?
Thanks
推荐答案
通常我会说你的根目录搜索MSXML4.DLL,如果它不存在,请到这里:
http://www.microsoft.com/en-us/download/details.aspx? id = 19662 [ ^ ]
并下载SDK。
MSXML.DLL不附带Windows并没有包含在任何更新中。
自下而上!
Normally I'd say search your root directory for MSXML4.DLL and if it's not there, go here:
http://www.microsoft.com/en-us/download/details.aspx?id=19662[^]
And download the SDK.
MSXML.DLL doesn't ship with Windows and isn't included in any update.
Bottoms up!
Depe nds如果你需要v4类型lib
如果你这样做,你必须从某个地方找到它 - 在%system32%dir上运行搜索,运行oleview在它上面并提取tlb并使用
如果你不只是导入msxml6.dll
Depends if you NEED the v4 type lib
if you do, you'll have to find it from somewhere - run a search over your %system32% dir, run oleview on it and extract the tlb out and use that
if you don't just import msxml6.dll
这篇关于无法打开类型库文件:'msxml4.dll':没有这样的文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文