BUG: Multiple Build of File from PWB Profile Extension

ID: Q98182

2.00 2.01.49 | 2.00 2.01.49

MS-DOS       | WINDOWS
kbtool kbbuglist

The information in this article applies to:

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          : kb16bitonly buglist2.00 PwbIss kbbuglist
Version           : 2.00 2.01.49 | 2.00 2.01.49
Platform          : MS-DOS WINDOWS

Last Reviewed: July 21, 1997