Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_Include problems
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00391672
Message ID:
00391812
Vues:
11
I've just done a little testing and found that foxpro.h is not being included. My application.h (at the moment) just has #include home()+"foxpro.h" - if I include that in the form class it works but including my application.h does not work. My plan was to have application.h include foxpro.h and then I can add application-specific defines in application.h so it becomes generic.

Looks like I'll have to rethink. This is sickening - in C it can be done no problem.

I'd hoped that #include at the top of main.prg would include it. That's when I changed it to _include to no avail.

>
>Nigel,
>The above won't work because remeber the _INCLUDE file contains compiler constants that are not replaced on the fly (as this technique would indicate).
>
>As Roi said, you have to add the file to every form, menu, class library and PRG. I have a utility that will do it for all but the PRGs. I could post it here or send it to you, if you're interested.
>
>Let me know.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform