如何在c ++ / vc ++中使用共享内存在两个应用程序之间共享一个dll实例 [英] how to share a dll instance between two applications using shared memory in c++/vc++

查看:109
本文介绍了如何在c ++ / vc ++中使用共享内存在两个应用程序之间共享一个dll实例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我是共享内存实现的Newbi。我的问题如下

我有两个以上的应用程序,我在VC ++中创建了一个Regular Shared Dll.Dll在一个类中有一些函数。我想在两个应用程序中使用该类中定义的单个实例来访问这些函数。

请帮助我。

感谢高级

解决方案

一个非常奇怪的想法,但 http://msdn.microsoft.com/en-us/library/windows/desktop/aa366551(v = vs.85).aspx [ ^ ]可能对您有帮助。

Hi
I am Newbi for Shared Memory implementation . My Problem is as follows
I have two aur more than two application in and I have created a Regular Shared Dll in VC++.Dll have some functions with in a class. i want to access these functions in both applications using single instance of that class which is defined in Dll .
please help me .
thanks in advanced

解决方案

A very strange idea, but http://msdn.microsoft.com/en-us/library/windows/desktop/aa366551(v=vs.85).aspx[^] might help you.


这篇关于如何在c ++ / vc ++中使用共享内存在两个应用程序之间共享一个dll实例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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