Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# Windows 8上的Skype4Com_C#_Visual Studio 2012 - Fatal编程技术网

C# Windows 8上的Skype4Com

C# Windows 8上的Skype4Com,c#,visual-studio-2012,C#,Visual Studio 2012,我正在尝试使用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: 8004015

我正在尝试使用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,但没有成功。。。。如果我尝试将api与Visual studio 2010一起使用,则不会出现任何问题


我怎样才能让它工作呢?

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

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


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

我也遇到了同样的问题。首先确保已注册COM dll:

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

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