Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_Include problems
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00391672
Message ID:
00391816
Views:
9
>I've just done a little testing and found that foxpro.h is not being included. My application.h (at the moment) just has #include home()+"foxpro.h" - if I include that in the form class it works but including my application.h does not work. My plan was to have application.h include foxpro.h and then I can add application-specific defines in application.h so it becomes generic.
>

Nigel, Just a swag, but try changing the #include to NOT use home() but use the actual full folder. I'm wondering if the home() is causing the problem. Make sure you recompile after the change.

BTW, you're doing the same as I. I have a MyAppName.h that just #includes various .h files. I keep them all in a seprate folder for the app, including the foxpro.h.

>I'd hoped that #include at the top of main.prg would include it. That's when I changed it to _include to no avail.

That will only include it in main.prg.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Previous
Reply
Map
View

Click here to load this message in the networking platform