COM exe server returns CO_E_SERVER_EXEC_FAILURE
Hi,
An application running as the Interactive User acts as COM server.
A service spawns another application - therefore running under the System account - that tries to create an instance of the running COM server.
The spawned application fails with CO_E_SERVER_EXEC_FAILURE.
Additional info:
- The COM server uses TypeLib marshalling.
- A test application running as the logged on user succeeds in creating the instance of the COM object.
- The COM server is a former MFC app that has been converted to use ATL.
- Everything was working fine when the marshalling was done using a proxy/stub dll.
I have a feeling that is something related to security, but I'm quite surprised not to see 'access denied' rather than 0x80080005.
Any ideas? Thanks,
Alberto
|