Information générale
Catégorie:
Fonctions Windows API
...
>
>I thought u were calling the C++ routine from a program and waiting for its output, thus I assumed u can create a struct where you list all the directories and files created and return this to foxpro
>have foxpro take the resulting string and extract the data out
>
>what exactly are u trying to do?
vfp app creates file(s):
file001.txt
file002.txt
file003.txt
file004.txt
where XXX maps to some VFP data record.
C++ app user has ability to select any or all of the files vfp created.
Let's say file003.txt is selected and processed by this c++ app. It creates a file:
done003.txt
Ideally, C++ would inform VFP when the user selects a file and the c++ app has processed it. Looping until the C++ window is gone then checking for existance of doneXXX.txt may work, but this seems like unnecessary file i/o.
I'm trying to abstract my problem to keep it clearer. Hope this helps, I can see now that we should have done more of the file selection processing
in the VFP app then just passed file names into C++ for it to process.
Thanks Arnon,
Kim
Précédent
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