"Device Unavailable" on OPEN "COM1: " Compiled with BC /O/S (37347)
This article was previously published under Q37347
SYMPTOMS
A program that accesses the serial communications ports with OPEN
"COM1:" or "COM2:" produces a "Device Unavailable" (run-time error 68)
message if it is compiled using BC.EXE with the /O (stand-alone .EXE)
and /S (minimize string space) options together.
To work around this limitation, do not use the /S and /O options
together when compiling programs that access the communications ports.
STATUS
Microsoft has confirmed this to be a bug in Microsoft QuickBasic
4.00, 4.00b, and 4.50 for MS-DOS and in Microsoft Basic Compiler 6.00
and 6.00b (buglist6.00 buglist6.00b) for MS-DOS and MS OS/2. We are
researching this problem and will post new information here as it
becomes available. This problem does not occur in Microsoft Basic PDS
Version 7.00 for MS-DOS and MS OS/2 (fixlist7.00).
Modification Type: |
Minor |
Last Reviewed: |
1/9/2003 |
Keywords: |
KB37347 |
|