Microsoft KB Archive/46816

From BetaArchive Wiki
Knowledge Base


BC.EXE "Cannot Generate Listing for Basic Binary Source Files"

Article ID: 46816

Article Last Modified on 11/21/2006

This article was previously published under Q46816

SUMMARY

When compiling with BC.EXE in Microsoft QuickBasic version 4.00, 4.00b, or 4.50 or in Microsoft Basic Compiler 6.00 or 6.00b, or Microsoft Basic Professional Development System (PDS) version 7.00, the error "Cannot generate listing for Basic binary source files" can occur when creating a listing file.

This error occurs when the source file is saved in Fast Load and Save format. To create the listing file, the program must be saved in Text format.

The error "Binary source file" occurs if you are trying to compile a binary file with Microsoft Basic PDS 7.00 using the /Zi switch.

To save the file as text, do the following in the QB.EXE or QBX.EXE editor:

  1. From the File menu, choose Save As.
  2. Tab down to the <Text> box.
  3. Press SPACEBAR.
  4. Press ENTER and the file will be saved as text.



Additional query words: QuickBas BasicCom

Keywords: KB46816