Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Header files & constants
Message
From
04/01/2002 05:40:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Header files & constants
Miscellaneous
Thread ID:
00600662
Message ID:
00600662
Views:
52
I have two or three programs that require me to #INCLUDE a set of constants (ADO in this case). The application I am writing will be a .EXE app, but I am trying to test it from the VFP environment. To help this along I have inherited from one of my colleagues the following program that launches my app (mainMCC.prg) from within VFP :

cd c:\ClinicClient\progs
compile *.prg
CD ..
set default to c:\ClinicClient
do c:\ClinicClient\progs\mainMCC.prg

When mainMCC.prg runs it opens two programs for access i.e. Set procedure to xyz additive, but when I try to use one of the functions that uses any of the constants defined in the header file the program errors stating that it cannot find the constant value.

I know that programs have to be compiled for the header files to be included, but I assumed thats what 'compile *.prg' would do.

Is there any way I can get these programs working with these header files from the development environment?

Thanks in advance

Pablo
Next
Reply
Map
View

Click here to load this message in the networking platform