Windows 8 上的 Skype4Com [英] Skype4Com on Windows 8
问题描述
我正在尝试使用 Visual Studio 2012 RC ide 在 Windows8 机器上使用 Skype4COM api C#.由于此错误,我什至无法创建 Skype 对象:
I'm trying to use Skype4COM api C# on a Windows8 machine using Visual Studio 2012 RC ide. I'm not even able to create the Skype object because of this error:
Creating an instance of the COM component with CLSID
{830690FC-BF2F-47A6-AC2D-330BCB402664}using CoCreateInstanceFromApp failed due to
the following error: 80040154 Class not registered
(Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
Please make sure your COM object is in the allowed
list of CoCreateInstanceFromApp.
我也尝试注册 ddl 没有成功....如果我尝试将 api 与 Visual Studio 2010 一起使用,则没有问题....
I also tried to register the ddl with no success.... if I try to use the api with Visual studio 2010 there are no porblems....
我怎样才能让它工作?
推荐答案
我遇到了同样的问题.首先确保您已注册 COM dll:
I had the same issue. Firstly ensure you've registered the COM dll:
regsvr32 C:\Program Files\Common Files\Skype\Skype4COM.dll
其次,确保您正在为 (x86) 构建:项目的构建配置选项卡.
Secondly, ensure that you're building for (x86): Build configuration tab for the project.
这篇关于Windows 8 上的 Skype4Com的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!