"Device I/O," Error 57, Using SCREEN 3 and Communications Port (37405)



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

This article was previously published under Q37405

SYMPTOMS

Programs that use both Hercules SCREEN 3 and the communication port ("COM1:" or "COM2:") may generate "Device I/O" errors (error 57). For example, one customer reported that the faster he drew to the Hercules graphics screen, the more frequently he got the "Device I/O" error. The same program will run correctly if a CGA, EGA, or VGA card is used. It will also work correctly if text mode is used (screen 0).

STATUS

Microsoft has confirmed this to be a bug in Microsoft QuickBasic Versions 4.00, 4.00b, 4.50 and Microsoft Basic Compiler 6.00 and 6.00B (buglist6.00, buglist6.00b) for MS-DOS. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

Modification Type:MinorLast Reviewed:1/9/2003
Keywords:KB37405