Tuesday, July 1, 2014

Crash where COM is used (Creating an instance of COM....exception)

Hi,


I'm trying to create a simple app that uses 3rd party DLL and the program crashes when function from dll is used for the first time in code.


It compiles without warnings. I have registered DLLs using "regasm" (segsvr didn't work).


Here's the error:

Creating an instance of the COM component with CLSID {6EAD5FA9-0901-4780-A15D-DDD2ED156854} from the IClassFactory failed due to the following error: 80048391 Exception from HRESULT: 0x80048391.


I tried searching for 80048391 but I can't find anything.


It crashes then DLL is used for the first time:


BlAPI3A.DatabaseManager dbm = new BlAPI3A.DatabaseManager();


Any ideas how could I make it work?


No comments:

Post a Comment