I have an issue accessing the EngineeringBase.Interop.dll with an external Application (in C#).
The other Application can be run as Administrator (with UAC prompt) for other reasons, and in those cases the Access fails if Engineering Base is already running (not elevated):
Error : Retrieving the COM class factory for component with CLSID {101E0584-E1D8-11D2-B72E-00805F52B443} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
It works when both Processes are running elevated (or both not elevated) so I believe it is not related to EB but probably more a general COM limitation I guess?
If that is true my question is just how can I detect this situation from my Code?
The other Application can be run as Administrator (with UAC prompt) for other reasons, and in those cases the Access fails if Engineering Base is already running (not elevated):
Error : Retrieving the COM class factory for component with CLSID {101E0584-E1D8-11D2-B72E-00805F52B443} failed due to the following error: 80080005 Server execution failed (Exception from HRESULT: 0x80080005 (CO_E_SERVER_EXEC_FAILURE)).
It works when both Processes are running elevated (or both not elevated) so I believe it is not related to EB but probably more a general COM limitation I guess?
If that is true my question is just how can I detect this situation from my Code?