联合开发网   搜索   要求与建议
                登陆    注册
排序按匹配   按投票   按下载次数   按上传日期
按分类查找All 串口编程(21) 
按平台查找All Visual C++(21) 

[串口编程] 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 (2012-03-07, Visual C++, 67KB, 下载7次)

http://www.pudn.com/Download/item/id/1787418.html
12
总计:21