General information
Category:
Windows API functions
>...
>>
>>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
a q.-
why doesn't the C++ code use VFP API (or VFP5.0 as an automation server) to work with the tables directly (ie why are u using .txt files)
anyway in VFP u can have a timer that will loop until the c++ program will finish (e.g. Edward code) and in that timer it will call another C++ function with this function u can manage a queue of the "done" jobs
and answer with one for every call
Arnon
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only