Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with _INCLUDE
Message
From
14/09/1999 10:59:26
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Help with _INCLUDE
Miscellaneous
Thread ID:
00264463
Message ID:
00264463
Views:
55
I understand how header files work as far as the text substitution at compile time. My problem is with the Default Header. I set _INCLUDE to a file with the complete path to my header file, "C:/MP/Headers/MPInclude.h". This file is a header file that has several #INCLUDE compiler directives in it, one of which is Dialogs.h which contains a #DEFINE ABOUT_LOC "About " line. When I put a few dummy lines of code in a form to test the header such as lcTest = ABOUT_LOC and run the form I get an error that "Variable ABOUT_LOC is not found". _INCLUDE is set to the proper header file and I don't get compile errors. Does the _INCLUDE environment variable not do what I think? Do all the #INCLUDE directives need full paths or do they they adhere to the SET("PATH") settings?

TIA,
Todd
Next
Reply
Map
View

Click here to load this message in the networking platform