Skype4Com on Windows 8

别等时光非礼了梦想. 提交于 2019-12-23 01:43:23

问题


I'm trying to use Skype4COM api C# on a Windows8 machine using Visual Studio 2012 RC ide. I'm not even able to create the Skype object because of this error:

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.

I also tried to register the ddl with no success.... if I try to use the api with Visual studio 2010 there are no porblems....

How can I make it working?


回答1:


I had the same issue. Firstly ensure you've registered the COM dll:

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

Secondly, ensure that you're building for (x86): Build configuration tab for the project.



来源:https://stackoverflow.com/questions/11915610/skype4com-on-windows-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!