BUG: Basic Serial Communications Programs May Hang w/ No Error

ID: Q94007


The information in this article applies to:
  • Microsoft Visual Basic Standard and Professional Editions for MS-DOS, version 1.0
  • Microsoft BASIC Professional Development System (PDS) for MS-DOS, versions 7.0, 7.1
  • Microsoft QuickBASIC for MS-DOS, versions 4.0, 4.0b, 4.5


SYMPTOMS

Programs using Basic's built-in serial communications may hang after several minutes or hours of continuous use, even though no communication error has occurred.


WORKAROUND

Use one of the following methods to work around this problem:

  • Lower the baud rate until the program stops hanging.


  • Try the suggestions listed in the following article in the Microsoft Knowledge Base:
    Q39342How to Solve Common QuickBasic Communications Port Problems


  • Use a third-party communications library instead of Basic's communications capability. Some third-party serial communications libraries are listed below. Microsoft provides this information for your convenience only and does not endorse these third-party products:
    
       Company              Product                 Phone
       --------------------------------------------------------
       Microhelp            Comm. Library for DOS   (800) 922-3383
       Crescent Software    PDQCOMM                 (800) 352-2742
       Software Interphase  QuickComm               (800) 542-2742
       Teratech             Telecom Toolkit         (301) 424-3903 



STATUS

Microsoft has confirmed this to be a bug in the Standard and Professional Editions of Microsoft Visual Basic for MS-DOS, version 1.0; in Microsoft Basic Professional Development System (PDS) for MS-DOS, version 7.1 (buglist7.10); and in Microsoft QuickBasic for MS-DOS, version 4.5 (buglist4.50). We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.


MORE INFORMATION

After a compiled program hangs, you may be able to press CTRL+BREAK to stop the program in the interpreter environment or while running the program if you compiled it for run-time error checking (BC /D).

Additional query words: VBmsdos QuickBas BasicCom 1.00 4.50 7.10 com1 buglist1.00

Keywords :
Version : MS-DOS:1.0,4.0,4.0b,4.5; :7.0,7.1
Platform : MS-DOS
Issue type :


Last Reviewed: December 4, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.