Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where to place .H file?
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01415979
Message ID:
01415987
Views:
92
This message has been marked as a message which has helped to the initial question of the thread.
>>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.

In your include line you could have put

include \incude\myInclude.h
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform