Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Include files hierarchy
Message
De
03/08/1999 20:42:20
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00249525
Message ID:
00249531
Vues:
23
You do not need to include the .H file in the subclass unless you add code in the subclass that use a constant defined in the .H

The .H file is needed only when compiling (VFP compile the class when saving). The precompiler will replace the constants in your code by their value defined in the .H file before the code is compiled.

HTH

>I'm trying to understand the include file calling hierarchy.
>
>If I create a class library and add an include file
> base.vcx foxpro.h
>
>Then I subclass base.vcx and all its classes
> subclass.vcx
> subsubclass.vcx
>
>Are all the definitions of foxpro.h available to subclass.vcx and subsubclass.vcx or do I need to re-include foxpro.h?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform