"Device I/O Error" If Keyboard Buffer Filled During "COM1" (37306)
This article was previously published under Q37306
SYMPTOMS
When the keyboard buffer becomes full while serial communications are
executing, a "Device I/O error" (error 57) may occur.
STATUS
Microsoft has confirmed this to be a bug in QuickBasic versions
4.00, 4.00b, and 4.50, in Microsoft Basic Compiler versions 6.00 and
6.00b for MS-DOS and MS OS/2 (buglist6.00, buglist6.00b), and in
Microsoft Basic Professional Development System (PDS) version 7.00 for
MS-DOS and MS OS/2 (buglist7.00). This problem was corrected in Basic
PDS version 7.10 (fixlist7.10).
To work around this problem, use the INKEY$ function to poll the
keyboard so that any keyboard input will be flushed. This process is
shown below.
Modification Type: |
Minor |
Last Reviewed: |
1/9/2003 |
Keywords: |
KB37306 |
|