Two Fixed-Length Strings 32K Long in COMMON Hang QuickBasic (62269)






This article was previously published under Q62269

SYMPTOMS

The following two-line program hangs QB.EXE and QBX.EXE:
   COMMON A AS STRING * 32760
   COMMON B AS STRING * 32760
				
When run, the line and column counters at the bottom-right corner of the screen will be set to 1, the message "Binding" will be displayed at the bottom-left corner, and the machine will be hung, requiring a soft reboot. If running in the DOS compatibility box of OS/2, only the DOS box will be hung.

STATUS

Microsoft has confirmed this to be a bug in the QB.EXE environment of Microsoft QuickBasic versions 4.00, 4.00b, and 4.50; in the QB.EXE environment of Microsoft Basic Compiler versions 6.00 and 6.00b for MS-DOS (buglist6.00, buglist6.00b); and in the QBX.EXE environment of Microsoft Basic Professional Development System (PDS) versions 7.00 and 7.10 for MS-DOS (buglist7.00, buglist7.10). We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

The problem does not occur in programs compiled with BC.EXE.

Modification Type: Minor Last Reviewed: 1/9/2003
Keywords: KB62269