>>The standard place is at the top of the file.
>>
>
>This is what I thought. I realize now what my problem is/was. This is a main program (like main.prg). The .H file is in the /INCLUDE folder. And the path to this folder is
after the #INCLUDE.. line. Therefore, when I run this project from the VFP IDE I get error on the line where one of the #DEFINE is used. Just to test it, I copied the SET PATH statement right above the #INCLUDE... line and it works. So I guess, when it comes to using this include in the main program I have to have a copy of it in the application folder.
>
>Thank you.
You can place your header files where ever you want.
The trick is to use SET PATH in the
IDE.
IOW you need a config.fpw or some other way to run a program at
IDE startup to set your path.
I finaly linked *,fpw files to VFP so that a click on a fpw will start
VFP9.exe -t -c%s
the fpw runs a prg, and this will set the environment for the specific project, including SET PATH
Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]