2012-08-11 62 views
1

我想在使用Visual Studio 2012 RC ide的Windows8机器上使用Skype4COM api C#。我甚至能够创造,因为这个错误的Skype的对象:Windows 8上的Skype4Com

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有没有porblems ....

我该如何使它工作?

回答

1

我有同样的问题。首先确保你已经注册的COM DLL:

regsvr32 C:\Program Files\Common Files\Skype\Skype4COM.dll

其次,确保您正在为(86):构建配置选项卡项目。