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:
00391789
Views:
11
>Durnit. I'll have to put my #include for my application header into my SetEnvironment procedure (which is called by default from each form when it is created) - extreme overkill!
>
>Another wishlist item for VFP7: let us use include files properly (ie. in the runner program).
>
< snipped >

Nigel,
The above won't work because remeber the _INCLUDE file contains compiler constants that are not replaced on the fly (as this technique would indicate).

As Roi said, you have to add the file to every form, menu, class library and PRG. I have a utility that will do it for all but the PRGs. I could post it here or send it to you, if you're interested.

Let me know.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform