Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C++ communicating back to VFP 5.0
Message
From
23/10/1996 18:25:47
 
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00010798
Message ID:
00010823
Views:
39
>...
>>
>>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
Map
View

Click here to load this message in the networking platform