BUG: Multiple Build of File from PWB Profile Extension

Last reviewed: July 17, 1997
Article ID: Q98182
2.00 2.01.49 | 2.00 2.01.49
MS-DOS       | WINDOWS
kbtool kbbuglist

The information in this article applies to:

  • Microsoft Programmer's WorkBench for MS-DOS and Windows, versions 2.0 and 2.01.49

The information in this article is included in the documentation starting with Visual C++ 5.0. Look there for future revisions.

SYMPTOMS

When you build an application in Programmer's WorkBench (PWB), PWB may compile one or more source files more than once.

CAUSE

The Microsoft Profiler extension provided with Microsoft C/C++ version 7.0, PWBPROF.MXT, has been loaded into PWB. PWB automatically loads the PWBPROF extension if it is installed in the same directory as PWB.EXE as suggested in the Profiler README.DOC file. For more information on loading extensions, please refer to pages 131, 268, and 286 of the "Environment and Tools" manual.

RESOLUTION

To work around this situation, remove the source file that builds more than once from the project list, save the project to disk, and add the source file to the project.

If you are not using the Profiler, you can prevent the source file from building more than once by preventing PWB from loading the Profiler extension.

STATUS

Microsoft has confirmed this to be a problem in Programmer's WorkBench versions 2.0 and 2.01.49 for MS-DOS and Windows. We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.

MORE INFORMATION

Perform the following four steps to demonstrate this behavior:

  1. Choose a .C source file included in the project list, load it into an editor, and modify the file.

  2. Choose Open Project from the Project menu to open the project list.

  3. Choose Edit Project, then choose Save List.

  4. From the Project menu, choose Build. When prompted to rebuild everything, choose Yes.


KBCategory: kbtool kbbuglist
KBSubcategory: PwbIss buglist2.00 buglist2.01.49
Additional reference words: 1.2 1.20 2.00 2.1.49 2.01.49
Keywords : buglist2.00 buglist2.01.49 kb16bitonly PwbIss kbbuglist kbtool
Version : 2.00 2.01.49 | 2.00 2.01.49
Platform : MS-DOS WINDOWS


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 17, 1997
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.