错误 0x80010108(调用的对象已与其客户端断开连接)的原因可能是什么? [英] What may be the causes of the error 0x80010108 (The object invoked has disconnected from its clients)?

查看:40
本文介绍了错误 0x80010108(调用的对象已与其客户端断开连接)的原因可能是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 C++ 程序中,调用 coclass 的方法返回错误 0x80010108(调用的对象已与其客户端断开连接).可能是什么原因造成的?

In C++ program the call to method of coclass returns the error 0x80010108 (The object invoked has disconnected from its clients). What may be the causes of that?

推荐答案

这是一个RPC错误,当你使用进程外COM时你会看到它.它告诉您服务器 .exe 停止运行.应该是被炸了或者即使仍然有活动的接口引用,也决定退出.那可能是引用计数问题.或不当使用 CAtlModule::Lock().等等,我只能猜测.使用 Tools + Attach to Process 调试服务器并找出它决定退出的原因.

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.

这篇关于错误 0x80010108(调用的对象已与其客户端断开连接)的原因可能是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆