Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Include files hierarchy
Message
From
03/08/1999 20:42:20
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00249525
Message ID:
00249531
Views:
22
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
Map
View

Click here to load this message in the networking platform