Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#define and _Include
Message
 
To
09/12/1998 13:28:24
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00165272
Message ID:
00165755
Views:
10
Jim,

Header files (.h Include files) contain compiler directives and manifest constants. The manifest constants act like a search and replace on teh source code BEFORE it is compiled. You need to either put the #INCLUDE Whatever.h in each and every program, fomr, and class or in VFP6 you can use the _INCLUDE system variable to hold a reference to a default include file.

To use the default include file you have to set the _INCLUDE variable before you compile any code. Once you have set it you must recompile all code that references the manifest constants defined in the header file so the proper replacements will occur.

Building the project will only recompile those files that have changed unless you check the recompile all files option.
Previous
Reply
Map
View

Click here to load this message in the networking platform