>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 FilesThe 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.
OffThere is no place like [::1]