Microsoft KB Archive/80182

= &quot;Invalid Format&quot; QBX Quick Library Not Compiled with /D or /AH =

Article ID: 80182

Article Last Modified on 8/16/2005

-

APPLIES TO


 * Microsoft BASIC Professional Development System 7.0
 * Microsoft BASIC Professional Development System 7.1

-



This article was previously published under Q80182



SUMMARY
When starting QBX.EXE with a Quick library, the following message may be displayed:

Error in loading - Invalid format

This message could be caused because Basic code in the Quick library has not been compiled with either /D or /Ah.



MORE INFORMATION
The following addition to page 625 of the &quot;Microsoft Basic 7.0: Programmer's Guide&quot; for versions 7.0 and 7.1 is taken from the README.DOC file from the 7.0 and 7.1 release disks:

625 Loading and Viewing Quick Libraries

QBX now requires that the Basic source for any Quick library be compiled using the /Fs (far string) compiler option. Consequently, QBX will not permit you to load a Quick library file that has the near string features of earlier versions of QuickBasic. If you encounter an &quot;Invalid Format&quot; error when attempting to load an older Quick library file, you should recompile the files using BC with the /Fs option.

You may also encounter the &quot;Invalid Format&quot; error if you invoke QBX with a /Ea option (put arrays into expanded memory) and have not compiled the Quick library with /D (generate debugging code) or /Ah (allow dynamic arrays of records, fixed-length strings, and numeric data to be larger than 64K).

Additional query words: BasicCom 7.00 7.10

Keywords: KB80182

-

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

© Microsoft Corporation. All rights reserved.