Creating Com Error 80004005

大兔子大兔子 提交于 2019-12-12 06:14:52

问题


Im trying to run FoxPro in Windows 2012,

I have registered the dll using regsvr32

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

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()


回答1:


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.



来源:https://stackoverflow.com/questions/30112869/creating-com-error-80004005

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