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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement