用户名: 密码: 验证码:
基于WM_COPYDATA实现进程间共享数据
详细信息    查看全文 | 推荐本文 |
  • 英文篇名:Data Sharing in Inter-process Communication Based on WM_COPYDATA
  • 作者:金振训 ; 潘圣国 ; 潘佰林 ; 李寒曦 ; 汤尧平 ; 徐进
  • 英文作者:Jin Zhenxun;Pan Shengguo;Pan Bailin;Li Hanxi;Tan Yaping;Xu Jing;China Tobacco Zhejiang Industrial Co.,Ltd;Shanghai SAGA Electronics Technology Co., Ltd;
  • 关键词:进程间通信 ; SendMesage ; 消息传递 ; WM_COPYDATA
  • 英文关键词:inter-process communication;;SendMessage;;message transfer;;WM_COPYDATA
  • 中文刊名:科技通报
  • 英文刊名:Bulletin of Science and Technology
  • 机构:浙江中烟工业有限责任公司;上海塞嘉电子科技有限公司;
  • 出版日期:2019-04-30
  • 出版单位:科技通报
  • 年:2019
  • 期:04
  • 基金:浙江中烟工业有限责任公司2017年科技项目(ZJZY2017D002)
  • 语种:中文;
  • 页:107-109+115
  • 页数:4
  • CN:33-1079/N
  • ISSN:1001-7119
  • 分类号:TP316.7;TP311.1
摘要
软件开发中经常可能遇到后台系统需要通过回前台UI进程通知用户一些消息,这样两个进程之间就不可避免地产生通信的需求。本文基于Windows消息机制实现一种高效的进程间通信机制,详细描述了基于WM_COPYDATA改进机制的实现方式,并给出了可实现的C#语言代码。
        In the Software development, there's a pretty high probability to notify users of some messages by returning to the foreground UI process from the backend system. So the communications between two processes are rather necessary. This paper, based on the Windows message mechanism, realizes an efficient interprocess communication mechanism and describes the implementation of the mechanism in detail. Plus,it gives the C # language code that can be realized..
引文
[1] 新编WINDOWS API参考大全编写组.新编WINDOWS API参考大全[M].北京:电子工业出版社,2000.
    [2] 陈雄,周文胜,陈鹤鸣.Windows下的进程间通信[J].南京邮电大学学报(自然科学版),2000,20 (2):51-54.
    [3] Jeffrey Richter,王建华等译.Windows核心编程[M].北京:机械工业出版社,2000.
    [4] 傅平,郑秉文.基于 File Mapping的进程间通信中共享内存技术的实现方法[J].微计算机应用,2007:767-770.
    [5] 高波.浅谈Windows进程间通讯方法[J].水利水文自动化杂志,2002:30-32.

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700