Introduction - If you have any usage issues, please Google them yourself
read data from the serial port, there are two methods, one, each receiving a EV_RXCHAR, on the ReadFile read, I think this vote. 2, received a EV_RXCHAR after a certain volume of data, such as CPU cycles (GetTickCount), and the one-time reader, the data buffer. To do so, under normal circumstances there is no problem, but if many of the data, and after a "certain amount of data the CPU cycles," also confiscated End Data how do? Few will read the data. I used three lines to complete serial data
Packet : 23429一个串口包装类及演示程序.rar filelist
一个串口包装类及演示程序\res\MySerialPort.ico
一个串口包装类及演示程序\res\MySerialPort.rc2
一个串口包装类及演示程序\res\Thumbs.db
一个串口包装类及演示程序\res
一个串口包装类及演示程序\DataStruct.h
一个串口包装类及演示程序\DataStructTemplate.h
一个串口包装类及演示程序\MySerialPort.aps
一个串口包装类及演示程序\MySerialPort.clw
一个串口包装类及演示程序\MySerialPort.cpp
一个串口包装类及演示程序\MySerialPort.dsp
一个串口包装类及演示程序\MySerialPort.dsw
一个串口包装类及演示程序\MySerialPort.h
一个串口包装类及演示程序\MySerialPort.ncb
一个串口包装类及演示程序\MySerialPort.opt
一个串口包装类及演示程序\MySerialPort.plg
一个串口包装类及演示程序\MySerialPort.rc
一个串口包装类及演示程序\MySerialPortDlg.cpp
一个串口包装类及演示程序\MySerialPortDlg.h
一个串口包装类及演示程序\ReadMe.txt
一个串口包装类及演示程序\resource.h
一个串口包装类及演示程序\Serial.cpp
一个串口包装类及演示程序\Serial.h
一个串口包装类及演示程序\StdAfx.cpp
一个串口包装类及演示程序\StdAfx.h
一个串口包装类及演示程序\Cn700.com.txt
一个串口包装类及演示程序