创建Com错误80004005 [英] Creating Com Error 80004005

查看:72
本文介绍了创建Com错误80004005的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在Windows 2012中运行FoxPro,

Im trying to run FoxPro in Windows 2012,

我已经使用regsvr32注册了dll

I have registered the dll using regsvr32

何时我尝试使用dll运行应用程序,我得到了

When i try to run the app using the dll, i got this


错误:使用CLSID
创建COM组件的实例由于以下错误,来自IClassFactory的{F6C4F46E-58A4-4774-802F-1CF9E64376B0}失败
:80004005。跟踪:位于
Lib.FoxProWrapper..ctor(String ODBC,String Acct,String Pswd)
App.Processor..ctor(String SrvType,String ServiceName)处
App.App.startApp()

Error: Creating an instance of the COM component with CLSID {F6C4F46E-58A4-4774-802F-1CF9E64376B0} from the IClassFactory failed due to the following error: 80004005. Trace: at Lib.FoxProWrapper..ctor(String ODBC, String Acct, String Pswd) at App.Processor..ctor(String SrvType, String ServiceName) at App.App.startApp()


推荐答案

我假设您在这里谈论的是使用Visual FoxPro创建的COM DLL,从外观上讲,您试图在C#中实例化它。

I assume here you are talking about a COM DLL created with Visual FoxPro and by the looks of it you are trying to instantiate it in C#.

确保正确安装了运行时。您可以在此处下载它们。

Make sure you have the runtimes properly installed. You can download them here.

这篇关于创建Com错误80004005的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆