>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.netAccumulate learning by study, understand what you learn by questioning. -- Mingjiao