Windows 8上的Skype4Com
我正在尝试使用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)构建:为项目构建配置选项卡。