What could be the causes of error 0x80010108 (the called object has disconnected from its clients)?

In a C ++ program, calling the coclass method returns error 0x80010108 (the called object has disconnected from its clients). What could be the reasons for this?

+2
source share
2 answers

This is an RPC error, you will see it when you use COM outside the process. It tells you that the .exe server is stopped. He probably bombed. Or they decided to quit, although there were still active links to the interface. This may be a reference count problem. Or improper use of CAtlModule :: Lock (). Ettetera, I can only guess. Debug the server using Tools + Attach to Process and find out why it decided to exit.

+1
source

This error arises from the created COM proxy object, so your server object (the one that is being called) lives in another apartment, broadcast outside proc, or in another thread of the current process. Something very bad happened to this apartment, so it was terminated, and now the COM stub living there cannot be reached by proxy (via RPC or message pump).

0
source

Source: https://habr.com/ru/post/1302717/


All Articles