>George,
>, snipped >
>>When the HOME() function is removed, the compiler uses the header in the project (ignores the one in the default directory).
>>
>
>That is wierd. It sounds as though including the header file in the project caused it to be cached. Normally, .H files aren't included in VFP projects (at least I don't include them). For VFP, there is no point. The project has already been compiled so it is extra space in the EXE (albeit small) that doesn't need to be there.
I went a bit further with this. I removed the header from the project. As expected, the application then used the one in the default directory. After re-adding the original, I re-compiled and ran the test again. It still used the header in the default directory. I then re-named the one in the default directory, and re-compiled. This last time, it used the one in the HOME() directory.
Obviously, something's going on here. I'd tend to always include the header files to be sure that the right one is being used.
George
Ubi caritas et amor, deus ibi est