Delphi里面如何清除串口的接收和发送缓冲区
我想把缓冲区清空.原来的程序是直接调用dll对串口有一点操作,现在缓冲区里面有数据影响了后面的程序 问题点数:20、回复次数:1Top
1 楼thx1180(唐伯虎)回复于 2006-03-03 17:09:29 得分 20
PurgeComm:
The PurgeComm function can discard all characters from the output or input buffer of a specified communications resource. It can also terminate pending read or write operations on the resource.Top




