Microsoft KB Archive/98182

{|
 * width="100%"|

BUG: Multiple Build of File from PWB Profile Extension

 * }

Q98182

-

The information in this article applies to:


 * Microsoft Programmer's WorkBench for MS-DOS and Windows, versions 2.0, 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 &quot;Environment and Tools&quot; 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.

Additional query words: 1.2 1.20 2.00 2.1.49 2.01.49

Keywords : kb16bitonly

Issue type :

Technology : kbAudDeveloper kbPWBSearch kbPWB200DOS kbPWB2149DOS