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?
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only