PRB: Header Files Ignored by Recompile All & Build Process (147201)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
This article was previously published under Q147201 SYMPTOMS
Issuing a Recompile All from the Project Manager does not force a recompile
of program (.prg) files if the program has not been altered. As a result,
header (.h) files that are referenced in the program file are ignored by
the Recompile All and Build processes. Therefore, if changes are made to a
header file that is referenced in a program file, the new changes are not
automatically redefined.
NOTE: This behavior applies only to header files that are referenced in
unchanged program files. In other words, header files referenced in forms
and classes are reprocessed by a Recompile All.
CAUSE
Each .prg file has an associated .fxp file after the first Build process.
If the .fxp and .prg file datetime stamps are the same, then it is assumed
that the .prg file hasn't changed, so it's left out of any subsequent
recompile processes.
RESOLUTION
There are two ways to force a recompile of .prg files:
- Delete all corresponding .fxp files before starting the build process
from within the Project Manager.
-or-
- Issue a COMPILE *.PRG command from the Command window.
It is the presence of the .fxp file that prevents the Project Manager from
recompiling all files.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 9/30/2003 |
---|
Keywords: | KB147201 |
---|
|