2012-08-11 77 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):構建配置選項卡項目。