首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VC/MFC >

CSerialPort种 ReadFile() Failed with the following error

2014-06-05 
CSerialPort类 ReadFile() Failed with the following error在用CSerialPort类 的时候,碰到了下面的警告,

CSerialPort类 ReadFile() Failed with the following error
在用CSerialPort类 的时候,碰到了下面的警告,还是第一次遇到。希望用过的大大们帮忙分析下哈。
WARNING:ReadFile() Failed with the following error
由于线程退出或者应用程序请求,已放弃I/O操作。
谢谢!
当时:
串口的设置:
38400,每帧24个字节,每20ms接收一帧数据。


[解决办法]
没有释放吧
[解决办法]
这个串口类用过,但你的问题不是很清楚,难道读的缓冲区满了?帮顶
[解决办法]
你initialport是怎么设置的?

热点排行