Hi!
Take a look to _INCLUDE system variable.
Include file is useful for development to compile programs only. When you compiled EXE it is no longer needed. Well, if you have code compiled in run-time that might use these constants, you will require to get that file with EXE and distribute it too, than set up the _INCLUDE variable in run-time. I did not ever tried that in EXE so cannot tell if it work, so maybe for run-time compilation you will require to include it in each PRG anyway.
HTH.
>I am working on a new set of classes for my company based on ADO and need to include adovfp.h in my forms and some prg's. I am trying to figure out the scope of include files.
>
>It seems that I have to include it in the top of every routine that I need to reference a constant defined in the .h file before using it.
>
>Is there a way to make these global? I would like to include this file 1 time in the startup of my program and be done with it if possible.
>
>As always... Thanks...
>Tommy
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.