"Invalid Format" QBX Quick Library Not Compiled with /D or /AH (80182)



The information in this article applies to:

  • Microsoft Basic Professional Development System for MS-DOS 7.0
  • Microsoft Basic Professional Development System for MS-DOS 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 <filename> - 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 "Microsoft Basic 7.0: Programmer's Guide" 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 "Invalid Format" 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 "Invalid Format" 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).


Modification Type:MinorLast Reviewed:8/16/2005
Keywords:KB80182