Upon looking at your message more carefully, it seems it is the path you are having trouble with.
What I usually did is include the directory with the *.H files in the default VFP path. For instance, the path might include: "data, form, program, lib, include, c:\projects\SharedTools, ..." Note that most paths are relative to the current directory, making it easy to switch between projects (with a similar folder structure).
HTH,
Hilmar.
>It does't work, it doesn't seem to include the test.h file at all... After a little more testing here's what i get:
>
>
>
>#define build_root "c:\Test\"
>
>*-- Doen't work #include build_root + "Test.h"
>*-- Doen't work #include "c:\Test\" + "Test.h"
>
>*Works
>#include "c:\Test\Test.h"
>
>? MyTEST
>
>
>
>>It should work, IMO. Did you try to recompile? If you added the #define MyTest later, it won't work until you recompile (which it should do automatically, BTW, but this doesn't always work).
>>
>>>Is there any way for this to work ?
>>>
>>>
>>>
>>>*-- c:\test\Test.h
>>>#define MyTest 1
>>>
>>>*-- Some program
>>>#define build_root "c:\Test\"
>>>#include build_root + "Test.h"
>>>? MyTEST
>>>
>>>
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)