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

查看:970
本文介绍了可能是错误的原因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错误,你会看到它,当你使用out- - 进程COM。它告诉你服务器.exe停止运行。它可能轰炸。或者决定退出即使仍然有活动的接口引用。这可能是一个引用计数问题。或不当使用CAtlModule :: Lock()。 Etcetera,我只能猜到。使用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天全站免登陆