0
votes

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
Still throwing the same error... - ConfusedUser
@MattMcNabb No, 0x80004005 is E_FAIL "Unspecified error". You are thinking of 0x80070005 E_ACCESSDENIED - Igor Tandetnik
@IgorTandetnik oh yeah. IIRC 80040005 is what you get when the COM object segfaults during creation (which can be due to it being unable to load a dependency) - M.M

1 Answers

1
votes

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.