Microsoft KB Archive/37405

From BetaArchive Wiki
Knowledge Base

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

Article ID: 37405

Article Last Modified on 11/21/2006


  • Microsoft QuickBasic 4.0
  • Microsoft QuickBASIC 4.0b
  • Microsoft QuickBasic 4.5 for MS-DOS
  • Microsoft BASIC Compiler 6.0
  • Microsoft BASIC Compiler 6.0b

This article was previously published under Q37405


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).


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.

Additional query words: QuickBas BasicCom buglist4.00 buglist4.00b buglist4.50

Keywords: KB37405