>>
>I am using a #INCLUDE statement that just says "#INCLUDE wconnect.h". When you don't put in a path isn't it supposed to search along the VFP default path...meaning the SET LIBRARY TO statement?>>
>>To be safe always use a PATH in #INCLUDE, unless it is in the current DIR.
>>It does not follow
SET LIBRARY TO
but
SET PATH TO
. Just be safe.
>
>
>
>Thank you for the above information. I put a path in my include but am still getting the same error. Also, when the build is done the error file gives me a different file path than the error message I get when it is building...that error message is:
>
>Compiling c:\source\ipc6_2\libs\wwipstuff.vcx
>Error in global include file: Include file 'c:\source\ipc6_2\wconnect.h' is not found.
>
>So this makes it sound like it is a PATH problem. We have a SET PATH TO statement in the beginning of our app that covers all of the folders within the main directory. That shouldn't be goofing it up, but I suppose that could be the problem. Any other ideas for me?
>
>Thanks again!
The class uses it's own Include file reference. Open the class in the class designer and change it in the menu Class -> Include file.
--sb--