VB进程间通讯演示(1.0) 说明:一共四个演示。分别如下: 1:Sample 一个简单的使用了共享内存映射的例子,运行两个实例看看就知道,没有什么特别。 2:SendText 不用窗口子类化,而达到和发送自定义消息同样的效果。 3:SendFile 由于演示2中还是通过发消息来传递字符串,不可能传递大块文本,本例综合演示1和演示2达到传递大块文本的功能。 4:Chat 演示2和演示3使用的都是SendMessage来发放通知消息,所以不能异步通讯,SetWindowText不能跨进程使用,PostMessage只能在WM_USER以上的自定义消息中才能传递指针,那么如何才能异步通讯呢?我还没有好主意,就用定时器吧!看看这个可以聊天的程序就知道了。 Common目录下有四个模块。其中ShareStr2.cls是原来大师Bruce MicKenney写的东西,就是这个东西害我浪费很多时间来调试。-VB inter-process communication demo (1.0) Note : A total of four demonstration. Respectively, as follows : 1 : Sample a simple use of shared memory mapping example, look at the operation of two examples, we know that nothing special. 2 : SendText not window-type, and to achieve this definition of news from the same effect. 3 : As demonstrated SendFile 2 updates, or to pass through the string, not send bulk text, the cases demonstrate a comprehensive and demonstration to send two large text functions. 4 : Chat demonstration two and three demonstration SendMessage are used to notify the news release, it is not asynchronous communications, inter-process SetWindowText not use PostMessage WM_USER only in the above-defined messages can transfer target, then how can asynchronous communication? I 下载
创建 tree flash 读写代码 linux gtk编程教程 i2c pic16f877 asp 类 request ds18b20汇编程序 wap网关代码 hough变换检测直线 ds1820 edit 右键 菜单 二进制流压缩 linux源码情景分析 vc 对话框 access数据库 如何解析url st7920 串行 数字图像处理 冈萨雷斯 m 嵌入式tcp ip协议栈 非线性规划程序 mapx sqlserver java 替换空格 三菱原程序 javascript 按 移动 adpcm压缩算法 c pcb元件封装库 stl 好书 eclipse 统计 行数 avr 下载器 制作 cie 颜色 c51 定时 vc dll 木马 代码 linux 共享内存 互斥 c 中文转换成unicode码 matlab bch jmf视频开发 icesword 源代码 c minus编译器 sgi stl 下载 video coding using the h.264 mpeg-4 avc compression standard 下载 octree algorithm flash日历原文件 网页即时聊天源程序 teach yourself perl 5 in 21 days j2ee api中文版下载 matlab频谱分析程序 max7221源程序 richedit 源码 h.264编码器源代码 网页发mail java单位换算 delphi word