Microsoft KB Archive/39377
Article ID: 39377
Article Last Modified on 11/21/2006
This article was previously published under Q39377
The amount of RAM required by a QuickBasic program varies depending on how the program is compiled. As a rule, the MINIMUM load size of a program is approximately the size of the .EXE file. If the program requires the run-time module (BRUNXX.EXE), an additional 76K or so is taken by the run-time module.
Once the program is loaded, additional RAM may be required for dynamic allocation. This includes file buffers, dynamic arrays, and variable-length strings.
This information applies to Microsoft QuickBasic Versions 2.00, 2.01, 3.00, 4.00, 4.00B and 4.50, and the Basic Compiler Versions 6.00 and 6.00B.
The EXEMOD.EXE utility shipped with the Basic Compiler Versions 6.00 and 6.00B can be used to determine the minimum load size of an .EXE file. The utility is also shipped with Microsoft C, Microsoft Fortran, Microsoft Pascal and Microsoft Macro Assembler.
Additional query words: QuickBas BasicCom