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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only