关于win7进程间共享数据问题
时间:2011-12-23
来源:互联网
在xp系统上,进程间共享数据比较容易,直接的CreateFileMapping(),OpenFileMapping(),MapViewofFile()几个API就好,基本不需要考虑权限的问题,但是在vista之后,这个方法就不灵验了。
A Remote Desktop Services server has multiple namespaces for the following named kernel objects: events, semaphores, mutexes, waitable timers, file-mapping objects, and job objects. There is a global namespace used primarily by services in client/server applications. In addition, each client session has a separate namespace for these objects, such as in Windows Vista.
这一段是从msdn摘过来的。
我现在想问的问题是,win7上面有没有什么办法,普通用户(非管理员用户)进程能不能实现进程间数据共享,msdn上提倡用一个服务程序调用CreateFileMapping(),客户应用程序就可以访问这个handle,但是我现在的是两个程序都是application程序。
有哪位大侠可以帮助小弟实现win7 2个应用程序(非管理员权限运行)共享内存数据。
我想实在不行就文件共享算了。纠结啊。
A Remote Desktop Services server has multiple namespaces for the following named kernel objects: events, semaphores, mutexes, waitable timers, file-mapping objects, and job objects. There is a global namespace used primarily by services in client/server applications. In addition, each client session has a separate namespace for these objects, such as in Windows Vista.
这一段是从msdn摘过来的。
我现在想问的问题是,win7上面有没有什么办法,普通用户(非管理员用户)进程能不能实现进程间数据共享,msdn上提倡用一个服务程序调用CreateFileMapping(),客户应用程序就可以访问这个handle,但是我现在的是两个程序都是application程序。
有哪位大侠可以帮助小弟实现win7 2个应用程序(非管理员权限运行)共享内存数据。
我想实在不行就文件共享算了。纠结啊。
作者: firememory 发布时间: 2011-12-23
依旧没有人,吃饭,回来继续。同志们,吃饭重要。
作者: firememory 发布时间: 2011-12-23
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28