文件名称:DelphiSPCOMM
介绍说明--下载内容均来自于网络,请自行研究使用
Delphi是一种具有功能强大、简便易用和代码执行速度快等优点的可视化快速应用开发工具,它在构架企业信息系统方面发挥着越来越重要的作用,许多程序员愿意选择 Delphi作为开发工具编制各种应用程序。但是,美中不足之处是 Delphi没有自带的串口通信控件,在它的帮助文档里也没有提及串口通信,这就给编制通信程序的开发人员带来许多不便。
目前,利用 Delphi实现串口通信的常用的方法有 3种:一是利用控件,如 MSCOMM控件和 SPCOMM控件;二是使用 API函数;三是调用其他串口通信程序。其中利用 API编写串口通信程序较为复杂,需要掌握大量的通信知识。相比较而言,利用 SPCOMM控件则相对较简单,并且该控件具有丰富的与串口通信密切相关的属性及事件,提供了对串口的各种操作,而且还支持多线程。下面本文结合实例详细介绍 SPCOMM控件的使用。
-Delphi is one kind has powerful, easy to use and code execution speed of the advantages of the visual rapid application development tool, it in architecture enterprise information system are playing a more and more important role, many programmers to choose to Delphi as development tools draw up various applications. But, the fly in the ointment is the Delphi did not have self-contained serial interface communication control, in its help a document also no mention of the serial interface communication, it is to prepare communication program developers to bring a lot of inconvenience.
At present, the use of Delphi realize the common method of serial communication has 3 kinds: one is the use of control, such as MSCOMM control and SPCOMM control 2 it is to use API functions Three is calling other serial interface communication program. Which use API write serial interface communication program is relatively complex, need to master
目前,利用 Delphi实现串口通信的常用的方法有 3种:一是利用控件,如 MSCOMM控件和 SPCOMM控件;二是使用 API函数;三是调用其他串口通信程序。其中利用 API编写串口通信程序较为复杂,需要掌握大量的通信知识。相比较而言,利用 SPCOMM控件则相对较简单,并且该控件具有丰富的与串口通信密切相关的属性及事件,提供了对串口的各种操作,而且还支持多线程。下面本文结合实例详细介绍 SPCOMM控件的使用。
-Delphi is one kind has powerful, easy to use and code execution speed of the advantages of the visual rapid application development tool, it in architecture enterprise information system are playing a more and more important role, many programmers to choose to Delphi as development tools draw up various applications. But, the fly in the ointment is the Delphi did not have self-contained serial interface communication control, in its help a document also no mention of the serial interface communication, it is to prepare communication program developers to bring a lot of inconvenience.
At present, the use of Delphi realize the common method of serial communication has 3 kinds: one is the use of control, such as MSCOMM control and SPCOMM control 2 it is to use API functions Three is calling other serial interface communication program. Which use API write serial interface communication program is relatively complex, need to master
(系统自动生成,下载前可以参看下载内容)
下载文件列表
在Delphi中用SPCOMM实现串口编程.mht