Error Message Explanations When Using COM1: and COM2 (39386)
The information in this article applies to:
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0
- Microsoft BASIC Compiler for MS-DOS and OS/2 6.0b
- Microsoft Basic Professional Development System for MS-DOS 7.0
- Microsoft Basic Professional Development System for MS-DOS 7.1
This article was previously published under Q39386 SUMMARY
The following error messages can appear when using the "COM1:" or
"COM2:" device:
Error Message Number
------------- ------
File Already OPEN (Error 55)
Bad File Name or Number (Error 52)
Out of Memory (Error 7)
Device Unavailable (Error 68)
Device I/O Error (Error 57)
Communications Buffer Overflow (Error 69)
Device Timeout (Error 24)
This article gives the logic used to determine when to display these
errors during OPEN, INPUT, OUTPUT, and other statements when using the
"COM1:" or "COM2:" device. This information applies to Microsoft
QuickBasic versions 4.00, 4.00b, and 4.50 and to Microsoft Basic
Compiler versions 6.00 and 6.00b for MS-DOS and MS OS/2. For a related
article concerning how to solve common communications port problems,
search for the following words in this Knowledge Base:
solve and "com1:" and port and problems
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB39386 |
---|
|