创建Com错误80004005

时间:2015-05-07 22:41:31

标签: windows com foxpro

我试图在Windows 2012中运行FoxPro,

我已使用regsvr32

注册了dll

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

  

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

1 个答案:

答案 0 :(得分:1)

我在这里假设您正在讨论使用Visual FoxPro创建的COM DLL,并且通过它的外观,您尝试在C#中实例化它。

确保正确安装了运行时。您可以下载here.

相关问题