Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Any way to attach an include file to a project?
Message
From
22/09/2016 12:04:58
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
21/09/2016 12:43:21
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012
Database:
Visual FoxPro
Application:
Desktop
Virtual environment:
VMWare
Miscellaneous
Thread ID:
01641179
Message ID:
01641219
Views:
46
>Hi all,
>
>There does not seem to be a way to point to an include (.h) file for an entire project. I have several text files that I have used "here and there" and today thought that I should have one include file for a project and then within that, pull in other .H files from within the top level .H file. Does not appear to be an easy way to do this.
>
>- I know how to attach a .H file to a class or form (not good enough)
>- I know I can set a default .H file within VFP's "Tools", "Options", "File locations" but I assume that applies to all projects
>
>If it can't be attached to a project, I guess my next best bet is to make it my VFP default (as I am assuming that the actual file is not needed after compilation and I can just exclude it from the project).
>
>Am I correct?
>
>Albert

As the others say.

Put the file to Other / Text Files
The pure existense of the .h does nothing at compile time, it needs to be included to text programs like prg or menu via #INCLUDE, to VCX/SCV via Class / Include File menu item.
If you like to include the .h just to keep all stuff of the project together, exclude (rightclick the file name in Project Manager) it. Or it will bloat the exe/app

In the times of yore we have done this to put it under VSS control, those days just for click - edit the .h files.
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform