簡體   English   中英

Windows 8上的Skype4Com

[英]Skype4Com on Windows 8

我正在嘗試使用Visual Studio 2012 RC ide在Windows8計算機上使用Skype4COM api C#。 由於以下錯誤,我什至無法創建Skype對象:

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並沒有成功....如果我嘗試在Visual Studio 2010中使用api,則沒有任何問題。

我該如何運作?

我遇到過同樣的問題。 首先確保您已經注冊了COM dll:

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

其次,確保要針對(x86)進行構建:該項目的“構建配置”選項卡。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM