blog

枪手亨利

博客园 首页 新随笔 联系 订阅 管理
  193 Posts :: 465 Stories :: 161 Comments :: 0 Trackbacks

文件操作

摘要: 调用Windows的Search(搜索)窗口阅读全文
posted @ 2006-06-06 14:59 henry 阅读(364) | 评论 (0) 编辑

posted @ 2006-06-05 13:20 henry 阅读(1276) | 评论 (1) 编辑

posted @ 2006-06-05 12:36 henry 阅读(399) | 评论 (0) 编辑

posted @ 2006-05-23 11:17 henry 阅读(150) | 评论 (0) 编辑

摘要: 进程间共享数据的四种方式,1、CreateFileMapping;2、Dll;3、WM_COPYDATA;4、直接调用ReadProcessMemory和WriteProcessMemory函数实现进程间通讯;
最后说了一下进程间发送消息的方法阅读全文
posted @ 2005-11-08 23:37 henry 阅读(2884) | 评论 (0) 编辑

posted @ 2005-11-08 23:22 henry 阅读(481) | 评论 (0) 编辑

posted @ 2005-11-08 23:17 henry 阅读(624) | 评论 (0) 编辑

posted @ 2005-11-08 23:16 henry 阅读(1085) | 评论 (0) 编辑

posted @ 2005-11-08 23:14 henry 阅读(455) | 评论 (0) 编辑

posted @ 2005-11-08 23:13 henry 阅读(719) | 评论 (0) 编辑

posted @ 2005-11-08 23:09 henry 阅读(921) | 评论 (0) 编辑

posted @ 2005-11-08 23:05 henry 阅读(595) | 评论 (2) 编辑

posted @ 2005-11-08 23:01 henry 阅读(155) | 评论 (0) 编辑

posted @ 2005-11-08 19:39 henry 阅读(275) | 评论 (0) 编辑

posted @ 2005-11-08 16:46 henry 阅读(352) | 评论 (0) 编辑

posted @ 2005-11-08 14:19 henry 阅读(1770) | 评论 (0) 编辑

posted @ 2005-11-05 18:23 henry 阅读(164) | 评论 (0) 编辑

posted @ 2005-11-05 17:25 henry 阅读(132) | 评论 (0) 编辑

摘要: 这个例子是用来进程间共享数据用的

//创建一内存映射文件,设定共享内存区域
m_hSharedMemoryFile = ::CreateFileMapping(
(HANDLE)0xFFFFFFFF, // 文件句柄
NULL, // 安全属性(WIN95忽略)
PAGE_READWRITE, // 文件的保护属性
0, // 使用页面文件
1<<16, // 共享内存大小
m_strShareMemName.GetBuffer(0));// 共享内存名称 阅读全文
posted @ 2005-11-05 09:58 henry 阅读(236) | 评论 (0) 编辑

posted @ 2005-11-05 09:50 henry 阅读(1435) | 评论 (1) 编辑

posted @ 2005-11-05 09:46 henry 阅读(321) | 评论 (0) 编辑

posted @ 2005-11-05 09:38 henry 阅读(65) | 评论 (0) 编辑

posted @ 2005-11-05 09:32 henry 阅读(157) | 评论 (0) 编辑

posted @ 2005-10-27 09:19 henry 阅读(305) | 评论 (0) 编辑