Location:
Search - vc WM_COPYDATA
Search list
Description: 此源码为在VC下实现的进程间通信的功能,在WINDOWS环境运行-this source of the VC under the inter-process communication functions in Windows operating environment
Platform: |
Size: 57930 |
Author: 余庆祥 |
Hits:
Description: msagent说明文档。机器人接口 Agent,COM,角色,语音识别,语音合成。 对Agent编程的方法主要有使用VB,VC等语言进行ActiveX调用,除此之外还有直接通过VC进行COM编程调用。在VB中调用Agent是最简单不过了,但由于VB程序本身存在诸多缺陷,很难在实际中应用。而在VC中,由于Agent内部完全采用了UNICODE编码,同时还要处理各种繁杂的COM接口,从而也存在一定的问题。AgentShell是建立在Agent和应用程序之间的一个外壳程序,通过它可将Agent复杂的COM接口封装起来,转变为简单的函数调用,很好的实现对Agent的控制。同时AgentShell也作为一个独立的程序,可处理英文自动朗读等功能,本文将详细介绍其实现原理。 (一) 原理介绍 AgentShell和Agent Server的连接是通过COM调用来实现的,对于与应用程序的通信是通过WM_COPYDATA消息来实现的, 下图表示出AgentShell与其它程序的关系: [ Agent Server ] ¦ [ COM调用 ] ¦ [ AgentShell ] ¦ [ 消息 ] ¦ [ 应用程序 ]-msagent documentation. Robot Interface Agent, COM, role, voice recognition, voice synthesis. Right Agent programming method mainly used VB, VC language called ActiveX. in addition to direct VC calls for COM programming. In VB called Agent is the most simple, but VB program itself, there are many shortcomings, very difficult to be applied in practice. The VC, as Agent completely within the UNICODE coding, Meanwhile, we need to deal with various complicated COM interface, so there are some problems. AgentShell is based on the Agent and applications between a shell, through its Agent can be complicated COM interface package, changing to a simple function call. to achieve good control of the Agent. While AgentShell also as an independent process, can be handled automatically read English and o
Platform: |
Size: 721552 |
Author: xpnt |
Hits:
Description: 欧姆龙最新PLC CPH1系列hostlink应用例子,用于编写上位机控制软件,通过串口直接控制PLC。用vc编写,方便转化为其他语言。
包括内容:
1:自封装串口类(来源于网络,做了适当修改)
2:多线程,线程间同步,通讯等。
3:生产者消费者模型应用,环形缓冲队列应用
4:欧姆龙hostlink通讯通讯同步处理,FCS校验值计算,各种hostlink指令使用示例。
5:线程消息处理类封装。
6:windows程序中带console调试界面,可把调试信息输出到控制台窗口及文件。
7:windows界面调试工具。(win32多线程程序设计一书中WM_COPYDATA例子封装,运行程序前启动目录中CopyRecv程序。)
8:自封装高精度计时器。(QueryPerformanceFrequency,QueryPerformanceCounter)
9:其他详见代码,此测试程序对初学者非常有帮助,而请大虾多指教。
e-mail:m__point@163.com
-OMRON PLC CPH1 latest series hostlink application examples, for the preparation of PC control software through direct serial control PLC. Prepared using vc facilitate conversion to other languages. Including : 1 : Since Packaging serial category (from the network, so the appropriate modifications) 2 : multiple threads, thread synchronization, communications. 3 : Producer consumer model, a circular buffer queue application 4 : OMRON hostlink synchronous communications Communications, FCS checksum calculation, hostlink various examples of the use of directives. 5 : threaded message processing category Packaging. 6 : windows proceedings with console debugging interface Debugging information can be output to the console window and documents. 7 : windows interface debugging tools. (Win32 multit
Platform: |
Size: 72165 |
Author: m__point |
Hits:
Description: VC++WM_COPYDATA发送端
Platform: |
Size: 27978 |
Author: zhouwei |
Hits:
Description: VC++WM_COPYDATA接收端
Platform: |
Size: 26632 |
Author: zhouwei |
Hits:
Description: 此源码为在VC下实现的进程间通信的功能,在WINDOWS环境运行-this source of the VC under the inter-process communication functions in Windows operating environment
Platform: |
Size: 57344 |
Author: 余庆祥 |
Hits:
Description: msagent说明文档。机器人接口 Agent,COM,角色,语音识别,语音合成。 对Agent编程的方法主要有使用VB,VC等语言进行ActiveX调用,除此之外还有直接通过VC进行COM编程调用。在VB中调用Agent是最简单不过了,但由于VB程序本身存在诸多缺陷,很难在实际中应用。而在VC中,由于Agent内部完全采用了UNICODE编码,同时还要处理各种繁杂的COM接口,从而也存在一定的问题。AgentShell是建立在Agent和应用程序之间的一个外壳程序,通过它可将Agent复杂的COM接口封装起来,转变为简单的函数调用,很好的实现对Agent的控制。同时AgentShell也作为一个独立的程序,可处理英文自动朗读等功能,本文将详细介绍其实现原理。 (一) 原理介绍 AgentShell和Agent Server的连接是通过COM调用来实现的,对于与应用程序的通信是通过WM_COPYDATA消息来实现的, 下图表示出AgentShell与其它程序的关系: [ Agent Server ] ¦ [ COM调用 ] ¦ [ AgentShell ] ¦ [ 消息 ] ¦ [ 应用程序 ]-msagent documentation. Robot Interface Agent, COM, role, voice recognition, voice synthesis. Right Agent programming method mainly used VB, VC language called ActiveX. in addition to direct VC calls for COM programming. In VB called Agent is the most simple, but VB program itself, there are many shortcomings, very difficult to be applied in practice. The VC, as Agent completely within the UNICODE coding, Meanwhile, we need to deal with various complicated COM interface, so there are some problems. AgentShell is based on the Agent and applications between a shell, through its Agent can be complicated COM interface package, changing to a simple function call. to achieve good control of the Agent. While AgentShell also as an independent process, can be handled automatically read English and o
Platform: |
Size: 720896 |
Author: xpnt |
Hits:
Description: 欧姆龙最新PLC CPH1系列hostlink应用例子,用于编写上位机控制软件,通过串口直接控制PLC。用vc编写,方便转化为其他语言。
包括内容:
1:自封装串口类(来源于网络,做了适当修改)
2:多线程,线程间同步,通讯等。
3:生产者消费者模型应用,环形缓冲队列应用
4:欧姆龙hostlink通讯通讯同步处理,FCS校验值计算,各种hostlink指令使用示例。
5:线程消息处理类封装。
6:windows程序中带console调试界面,可把调试信息输出到控制台窗口及文件。
7:windows界面调试工具。(win32多线程程序设计一书中WM_COPYDATA例子封装,运行程序前启动目录中CopyRecv程序。)
8:自封装高精度计时器。(QueryPerformanceFrequency,QueryPerformanceCounter)
9:其他详见代码,此测试程序对初学者非常有帮助,而请大虾多指教。
e-mail:m__point@163.com
-OMRON PLC CPH1 latest series hostlink application examples, for the preparation of PC control software through direct serial control PLC. Prepared using vc facilitate conversion to other languages. Including : 1 : Since Packaging serial category (from the network, so the appropriate modifications) 2 : multiple threads, thread synchronization, communications. 3 : Producer consumer model, a circular buffer queue application 4 : OMRON hostlink synchronous communications Communications, FCS checksum calculation, hostlink various examples of the use of directives. 5 : threaded message processing category Packaging. 6 : windows proceedings with console debugging interface Debugging information can be output to the console window and documents. 7 : windows interface debugging tools. (Win32 multit
Platform: |
Size: 71680 |
Author: |
Hits:
Description: VC++WM_COPYDATA发送端 -VC++ WM_COPYDATA 垄 脣脥 露 脣
Platform: |
Size: 27648 |
Author: zhouwei |
Hits:
Description: VC++WM_COPYDATA接收端 -VC++ WM_COPYDATA receiving end
Platform: |
Size: 26624 |
Author: zhouwei |
Hits:
Description: 程序采用vc++编写,用来在不同进程中通信,采用WM_COPYDATA消息来传递数据,和其他进程通信相比,具有简单,强大的特点。-Using vc++ program written in different processes used to communicate, using WM_COPYDATA message to pass data, and other processes, communication, compared with a simple, powerful features.
Platform: |
Size: 26624 |
Author: wangpenghui |
Hits: