Using Run-Time Module, RUN Makes Program Lose 70K Memory (37769)
The information in this article applies to:
- 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 for MS-DOS 7.0
- Microsoft Basic Professional Development System for MS-DOS 7.1
- Microsoft QuickBASIC 4.0
- Microsoft QuickBASIC 4.0b
- Microsoft QuickBASIC 4.5
This article was previously published under Q37769 SYMPTOMS
When a program compiled without the /O option executes the RUN
statement to run a second program, the run-time module (BRUNxx.EXE or
BRTMxx.EXE) is unloaded from memory. However, the 70K of space for the
run-time module fragments memory, and approximately 70K of RAM is
unavailable to the program run with the RUN statement. When the second
program quits or transfers control, the 70K of memory is available
again.
STATUS
Microsoft has confirmed this to be a bug in Microsoft Basic Compiler
versions 6.00 and 6.00b for MS-DOS, Microsoft Basic Professional
Development System (PDS) versions 7.00 and 7.10 for MS-DOS, and Microsoft
QuickBasic Compiler versions 4.00, 4.00b, and 4.50 (buglist4.00,
buglist4.00b, buglist4.50) for MS-DOS. We are researching this problem and
will post new information here in the Microsoft Knowledge Base as it
becomes available.
This problem doesn't occur in QuickBasic version 3.00.
This temporary fragmentation of memory can contribute to the cause of
any one of the following errors when attempting to RUN another .EXE
program: "Out of Memory," "Error R6005," or the MS-DOS message "Not
enough memory to Exec."
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB37769 kbAudDeveloper |
---|
|