Microsoft KB Archive/84955

From BetaArchive Wiki

PWB Does Not Automatically Update Include Dependencies

Q84955



The information in this article applies to:


  • Microsoft Programmer's Workbench for MS-DOS
  • Microsoft Programmer's Workbench for OS/2





SUMMARY

The Programmer's WorkBench (PWB) versions 1.0, 1.1, and 2.0 do not automatically update the include dependencies if include statements are added to source code after a program list/project has been saved. The include dependencies are updated when the list is saved again. This is also documented on pages 47-48 of the "Microsoft C/C++ Environment and Tools" manual for version 7.0.



MORE INFORMATION

When a project is created, the include dependencies are added to the target dependency blocks. This is done by scanning the source code for #include statements. These statements can occur in source files (such as .C files), header files (.H files), and resource scripts (.RC files).

If #include statements are subsequently added to files in the program list, they are not added to the makefile as dependencies until the program list is edited and saved. No actual changes to the list are required. Saving the list causes the include dependencies to be re-evaluated. To summarize, use the following procedure to update the include dependencies:

In PWB Versions 1.x

  1. Select Make from the main PWB menu.
  2. From the Make menu, choose Edit Program List.
  3. Choose Save List.

In PWB version 2.0

  1. Select Project from the main PWB menu.
  2. From the Project menu, choose Edit Project.
  3. Choose Save Project.

Additional query words: kbinf 1.00 1.10 2.00 7.00 2.1.49 PWBIss

Keywords : kb16bitonly
Issue type :
Technology : kbAudDeveloper kbPWBSearch kbZNotKeyword3


Last Reviewed: October 9, 1999
© 2001 Microsoft Corporation. All rights reserved. Terms of Use.