我正尝试在使用Visual Studio2012RC 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,则没有问题...
我怎么才能让它工作呢?
发布于 2012-10-22 20:28:43
我也有同样的问题。首先,确保您已经注册了COM dll:
regsvr32 C:\Program Files\Common Files\Skype\Skype4COM.dll
其次,确保您是在为项目的(x86):Build configuration选项卡进行构建。
https://stackoverflow.com/questions/11915610
复制相似问题