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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement