KnowledgeBase Archive

An Archive of Early Microsoft KnowledgeBase Articles

View on GitHub

Q46816: BC.EXE "Cannot Generate Listing for BASIC Binary Source Files"

Article: Q46816
Product(s): See article
Version(s): 4.00 4.00b 4.50
Operating System(s): MS-DOS
Keyword(s): ENDUSER | SR# S890628-52 B_BasicCom | mspl13_basic
Last Modified: 30-MAY-1990

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.

THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Copyright Microsoft Corporation 1986-2002.