Serial communication lines of communication because of its simple, flexible and easy to use, widely used in many fields. This paper mainly introduces how to realize the PC computer and the communication between PC. PC-programming using VC + + to achieve, PC machine called generic procedures, control RS-232 serial port, send and receive data in order to achieve function. In order to ensure the reliability of data communications, it is necessary to the development of communication protocol standards. MSComm on serial communication and control theory, detailed information on programming using VC6.0 Send receive characters, and gives the specific procedures and interpretation. After the success of the design through a PC-interface will be able to achieve a button to receive and send and receive data to see. Not only that, but also the completion of the design of other features, such as send files, automatically send data to send and receive statistics on the total number of characters or bytes, as well as to save the file to the specified location.
Key words: Serial Communication,Visual C + + 6.0, MSComm control, RS-232