Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Header files & constants
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
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement