文件名称:delphiapithread
介绍说明--下载内容均来自于网络,请自行研究使用
采用多线程技术的Delphi API 串口通信例子,应用程序只需调用API对读/写缓冲区操作即可,用到了一些API函数,比如CreatFile打开文件函数、Setupcomm设置通信缓冲区大孝ReadFile读串口操作等,当然还用到了许多函数。除了用到这些API函数外,还用到了一个DCB设备控制块,本例仅作最基本的API串口通信介绍,因此程序代码都不是太复杂的设计,仅创建了一些新项目后为form窗体增加几行代码即可。-Delphi API examples of serial communication using multi threading technology, applications only need to call API to read/write buffer operation, use the API function, such as CreatFile opens the file function, Setupcomm communication buffer filial ReadFile read the serial operation, of course also uses many function. In addition to use the API function, but also used a DCB device control block, this example only for API serial communication basic introduction, so program code are not too complicated design, only to create some new projects for form forms increased a few lines of code.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
用API实现串口通信\Project1.cfg
.................\Project1.dof
.................\Project1.dpr
.................\Project1.res
.................\Unit1.dcu
.................\Unit1.dfm
.................\Unit1.pas
用API实现串口通信