COM exe的单个实例 [英] Single instance of a COM exe

查看:78
本文介绍了COM exe的单个实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个COM exe和2个dll.这两个dll将使用COM exe的接口.

我只想运行COM exe的一个实例.我该怎么办?

可以使COM类成为单例吗?如果是,请让我知道如何实现.

或任何其他确保COM exe实例仅在运行的方法.

谢谢.

Hi,

I have a COM exe and 2 dll''s. These 2 dll''s will use the interfaces of the COM exe.

I want only one instance of the COM exe to be running. How do I do this ?

Can a COM class be made singleton ? If yes, please let me know how to achieve this.

or any other approach to ensure that only one instance of the COM exe would be running would be appreciated.

Thanks.

推荐答案

请检查以下讨论,
com本地服务器 [
Hi please check the following discussion,
com local server[^]. Hope this will help you.


这篇关于COM exe的单个实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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