>I would like to include a version of foxpro.h in a project
>
>If I use #INCLUDE path\foxpro.h in main.prg, no error is reported but the constants are not available in the forms, only in main.prg.
>
>I am trying to avoid including foxpro.h on a form by form basis.
>
You can specify it under Tools -> Options -> File Locations -> Default Include File or using _include system variable. Just remember that it has effect only on forms and classes created after it set. The existing forms/classes would ignore it. You'll have to change them one by one.
--sb--