Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Include file problem
Message
 
 
To
08/06/2001 12:00:10
Deepak Chopra
IBM Global Services India Pvt. Ltd.
Pune, India
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00516975
Message ID:
00516981
Views:
15
>I want to include header file in a program but condition is this that i can't modify that program. I can write another program but i know that the #define statement only substitute the current prg constant. can anyone help me so that i can use a include file of one prg in the another prg without including in the second one. thanks in advance.
>
>Deepak.

Not sure I really understand what you are asking, but in your header file, you can use as many #Include statements as you want. If you are asking how to use an additional header file in an existing PRG without adding an additional #INCLUDE to that PRG, then add the #INCLUDE to the constants file that is called by the existing PRG. For example, in my DEFAULTS.H header file, I have the following:

#INCLUDE D:\VisualStudio\Vfp98\FoxPro.h
#INCLUDE D:\Apps\Common\Constants\Word2000.h

#DEFINE ...

In my PRG file, I only have 1 #Include statement:

#INCLUDE DEFAULTS.H
Mark McCasland
Midlothian, TX USA
Previous
Reply
Map
View

Click here to load this message in the networking platform