Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
#INCLUDE question
Message
 
 
To
13/07/2003 15:28:29
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00809686
Message ID:
00809722
Views:
30
>I want to be able to use every constant in .H file defined with #DEFINE anywhere in my application (in forms, programs, classes...).
>How can I do that?
>
>
>I have put #INCLUDE in my MAIN.PRG but I the constants from .H file are visible only in that program, I want to be visible everywhere.

As others have posted, you have to include the H file in all VCXes, PRGs, SCXes and menus. Check out http://members.bellatlantic.net/~lmiller3/downloads/includer.zip for a utility to help with this.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Reply
Map
View

Click here to load this message in the networking platform