在Comm1ReceiveError(Sender: TObject; EventMask: Cardinal);
事件里,老是出错,
单步调试 EventMask 的值为8,请问如何解决。
我用的是COM1转红外线与一台仪器传输数据(该仪器不支持直接用红外口与电脑连接)
我看了SPCOMM说明书,解释大致如下,求助:
CE_RXOVER An input buffer overflow has occurred. There is either no
room in the input buffer, or a character was received after
the end-of-file (EOF) character.
(second condition is impossible happened under Win32)
事件里,老是出错,
单步调试 EventMask 的值为8,请问如何解决。
我用的是COM1转红外线与一台仪器传输数据(该仪器不支持直接用红外口与电脑连接)
我看了SPCOMM说明书,解释大致如下,求助:
CE_RXOVER An input buffer overflow has occurred. There is either no
room in the input buffer, or a character was received after
the end-of-file (EOF) character.
(second condition is impossible happened under Win32)
CE_BREAK The hardware detected a break condition. (no support now)
EventMask: Cardinal);
begin
self.Memo1.Lines.Add(inttostr(EventMask));
end;结果如下
8
0
8
0
8
8
8
8
8
0
8
8
8
0
。