Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Where to place .H file?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01415979
Message ID:
01416120
Vues:
59
Dmitry,

>I understand now. Thank you.

FWIW the #include needs to happen in every source code file that references any of the items #defined in the file. Since it's a compile time feature you can't put it in the main and expect that all of the other PRGs and VCX/SCXes have access to the items in the .h file.

In a visual classlib if you set the Class/Include file item all the methods of the class can see the #defines. If you #include in a method, only that method can see them.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform