Microsoft KB Archive/44358

= SMALLERR.OBJ Makes Smaller .EXE in QuickBasic 4.50 and BC 6.00 =

Article ID: 44358

Article Last Modified on 11/21/2006



This article was previously published under Q44358



SUMMARY
SMALLERR.OBJ is an object module shipped with Microsoft QuickBasic Version 4.50 for MS-DOS, Microsoft Basic Compiler Versions 6.00 and 6.00b for MS-DOS and OS/2, and Microsoft Basic PDS Version 7.00 for MS-DOS and MS OS/2. LINKing with SMALLERR.OBJ causes your executable program to report a limited subset of error messages, but reduces the size of your executable file by about 2K.

SMALLERR.OBJ can be linked only with Basic programs compiled as stand-alone programs. Standalone programs are created with BC /O, using BCOMxx.LIB in QuickBasic and Basic compiler 6.00 or 6.00b. In Basic PDS 7.00 you link in BCL70xxx.LIB. With all of the above, you must LINK with the /NOE switch, as SMALLERR redefines the error report routines in the BCOMxx or BCL70xxx library.

Linking with SMALLERR.OBJ maps all run-time error messages to one of the following:

&quot;Error occurred&quot;

&quot;Internal error&quot;

&quot;Unprintable error&quot;

Microsoft QuickBasic Versions 4.00 and 4.00b were not shipped with a SMALLERR.OBJ file. QuickBasic Versions 1.00, 1.01, 1.02, 2.00, 2.01, and 3.00 were shipped with a SMALLERR.OBJ.

Additional query words: QuickBas BasicCom

Keywords: KB44358

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.