MSCOMM收到错误

时间:2013-12-11 20:52:15

标签: vb6

我收到数据时遇到mscomm问题。这是我的代码:

while(mscomm.InBufferCount > 0)
   rx$ = rx$ & mscomm.Input  
   .... 'I have different delays for my project 
wend

在随机模式下,当接收数据时,我有while(mscomm.InBufferCount)和属性InBufferCount,例如是6.当我设置:rx $ = rx $& mscomm.Input,我有不同的字节数。有什么问题? 感谢

0 个答案:

没有答案