Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to place .H file?
Message
 
 
À
03/08/2009 19:02:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01415979
Message ID:
01415984
Vues:
68
>The standard place is at the top of the file.
>

This is what I thought. I realize now what my problem is/was. This is a main program (like main.prg). The .H file is in the /INCLUDE folder. And the path to this folder is after the #INCLUDE.. line. Therefore, when I run this project from the VFP IDE I get error on the line where one of the #DEFINE is used. Just to test it, I copied the SET PATH statement right above the #INCLUDE... line and it works. So I guess, when it comes to using this include in the main program I have to have a copy of it in the application folder.

Thank you.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform