BUG: $(TARGET) Doesn't Bring Up Single-Source EXE in CodeView

Last reviewed: July 22, 1997
Article ID: Q116287
1.00 1.50 WINDOWS kbtool kbbuglist

The information in this article applies to:

  • The Visual Workbench, included with: Microsoft Visual C++ for Windows, versions 1.0 and 1.5

SYMPTOMS

The Visual Workbench is able to invoke CodeView for both MS-DOS and Windows from the Tools menu. One of the command-line arguments for either version of CodeView, as seen from the Tools dialog box you get from the Options menu, is "$(TARGET)".

$(TARGET) represents the executable target file in cases where a project is currently loaded in Visual Workbench. However, if a project is not loaded in Visual Workbench when CodeView is invoked, CodeView does not automatically load the target executable file. Instead, a dialog box appears, asking for the executable file to be loaded. This can occur when you build MS-DOS or QuickWin targets from a single source file.

RESOLUTION

From the dialog box presented by CodeView, select the executable file you want to debug and begin debugging.

STATUS

Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

To reproduce the problem, do the following steps:

  1. Create a single-source MS-DOS application ("Hello World").

  2. Build the source file as a debug MS-DOS executable file without creating or loading a project in Visual Workbench.

  3. When the build is completed, start CodeView for MS-DOS by choosing the "CodeView for MS-DOS" option from the Tools menu.

When CodeView starts, a dialog box appears, asking for the name of the executable file. This does not occur if a project has been created and loaded for the source file.


Additional reference words: 1.00 1.50
KBCategory: kbtool kbbuglist
KBSubcategory: VwbIss
Keywords : kb16bitonly


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.

Last reviewed: July 22, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.