无法在 Windows 7 x64 上添加对 Skype4COM .dll 的引用 [英] Cannot add reference to Skype4COM .dll on Windows 7 x64

查看:23
本文介绍了无法在 Windows 7 x64 上添加对 Skype4COM .dll 的引用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到了指示使用 regsvr32 成功注册 Skype4COM.dl 的对话框.
但是,当我尝试将 COM 选项卡中对 Skype4COM 1.0 类型库的引用添加到我的 VS 2008 项目中时,我收到无法加载对 Skype4COM 1.0 类型库的引用".

I received the dialog indicating successful registration of Skype4COM.dl using regsvr32.
However, when I try to add a reference to Skype4COM 1.0 Type Library from the COM tab into my VS 2008 project, I get "A reference to Skype4COM 1.0 Type Libary' could not be loaded.

在 32 位 XP 上没有遇到这个问题.

Did not run into this problem on 32 bit XP.

Dependency walker 说我缺少 GPSVC.DLL 和 IESHIMS.DLL,但它们分别在 c:\system\windows32 和 c:\program files\internet explorer 中找到.

Dependency walker says I am missing GPSVC.DLL and IESHIMS.DLL but these are found in c:\system\windows32 and c:\program files\internet explorer respectively.

我该如何解决这个问题?

How do I fix this?

TIA.

推荐答案

嵌入在 skype4com.dll 中的类型库不是很干净并且会产生警告.足以阻止 IDE 添加它.你将不得不手工完成.启动 Visual Studio 命令提示符并运行 tlbimp.exe实用程序来生成导入库.您将看到警告,但会获得所需的 .dll.Afaik 警告是良性的,只要您仅在平台目标设置为x86"的项目中使用它.

The type library embedded in skype4com.dll is not very clean and generates warnings. Enough to stop the IDE from adding it. You will have to do it by hand. Start the Visual Studio Command Prompt and run the tlbimp.exe utility to generate the import library. You'll see the warnings but get the .dll you need. Afaik the warnings are benign as long as you only use it from a project which has the Platform target setting at "x86".

这篇关于无法在 Windows 7 x64 上添加对 Skype4COM .dll 的引用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆