摘 要:随着计算机技术的发展和推广,利用串口进行数据通讯在通讯领域中占有着重要地位。本文用VC++实现串口通信服务,在Visual C++6.0平台下,利用MSComm控件编写串口通信程序,实现了串口通信参数设置与显示、打开和关闭串口、接收和发送数据、自动发送、十吹冰进制发送与显示、清空接收区和发送区内容的功能。经过测试服务工作正常,实现了串口通信服务。最后,总结了开发和设计的不足之处,程序还有待进一步完善。20067
关键词:串口通信; Visual C++6.0; MSComm控件
Use VC++ realize the serial communication service
Abstract: with the development and popularization of computer technology, using a serial port for data communication occupies an important position in the field of serial port for data communication occupies an important position in the field of communications. In this paper, using VC++realize the serial communication service, in the Visual C++6.0 platform, using MSComm control. Write a serial port communication program to realize the serial communication parameters setting and display, open and close a serial port, send and receive data, automatically send, hexadecimal and distributing offered to display content, empty receiving and sending function. After test the service work is normal, realize the serial communication services. Finally, summarizes the deficiency of development and design, program remains to be further perfected
Key words: Serial communication; Visual C++6.0 ;MSComm control
目 录