CHAINing with Additional Variables in COMMON Causes Hang (60147)
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
- Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.0
- Microsoft Basic Professional Development System (PDS) for MS-DOS and MS OS/2 7.1
This article was previously published under Q60147 SYMPTOMS
In a compiled Basic program, CHAINing from a program that has a
DYNAMIC variable-length string array in COMMON to a program that has
an additional variable in COMMON whose length is greater than 530
bytes will cause the program to either terminate and display an
"Unprintable Error" message or hang, depending on the version of Basic
compiler being used.
This problem does not occur in the QB.EXE or QBX.EXE editors or when
the /Fs compiler option is used with Microsoft Basic Professional
Development System (PDS) versions 7.00 or 7.10.
STATUS
Microsoft has confirmed this to be a bug in Microsoft QuickBasic
versions 4.00, 4.00b and 4.50; in Microsoft Basic Compiler versions
6.00 and 6.00b for MS-DOS and OS/2; and in Microsoft Basic PDS
versions 7.00 and 7.10 for MS-DOS and OS/2. We are researching this
problem and will post new information here in the Microsoft Knowledge Base
as it becomes available.
Modification Type: | Minor | Last Reviewed: | 1/8/2003 |
---|
Keywords: | KB60147 |
---|
|