【问题标题】:Skype4Com on Windows 8Windows 8 上的 Skype4Com
【发布时间】:2013-03-14 19:01:13
【问题描述】:

我正在尝试在使用 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,但没有成功....

我怎样才能让它工作?

【问题讨论】:

    标签: c# visual-studio-2012


    【解决方案1】:

    我有同样的问题。首先确保您已经注册了 COM dll:

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

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多