Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Include file problem
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00516975
Message ID:
00517021
Vues:
24
>>I want to include header file in a program but condition is this that i can't modify that program. I can write another program but i know that the #define statement only substitute the current prg constant. can anyone help me so that i can use a include file of one prg in the another prg without including in the second one. thanks in advance.
>>
>>Deepak.
>
>Deepak,
>
>Unfortunately, there is no way to include include file rather than put #include myinclude.h at the top of the program. I don't think, if you include file in your main program, it would be visible everythere, I believe, you have to include it each time again. I have to check help on this (and you too), but I'm almost certain, that's true.

Ok, I checked VFP Help and Hacker's Guide, but there is no mention about scope of include file (or I didn't notice it). Anyway, I think, my original statement was true.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform