What may be the causes of the error 0x80010108 (The object invoked has disconnected from its clients)?

送分小仙女□ 提交于 2019-12-01 11:24:15

It is an RPC error, you'll see it when you use out-of-process COM. It tells you that the server .exe stopped running. It probably bombed. Or decided to exit even though there were still active interface references. That could be a reference count problem. Or improper use of CAtlModule::Lock(). Etcetera, I can only guess. Debug the server with Tools + Attach to Process and find out why it decided to quit.

This error is raised from a COM generated proxy object, so your server object (the one being called) is living in another apartment, ether out-of-proc or on another thread in the current process. Something very bad has happened to this apartment so it was terminated and now the COM stub living there cannot be reached by the proxy (via RPC or message pump).

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!