Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C++ communicating back to VFP 5.0
Message
From
23/10/1996 16:42:15
 
 
To
23/10/1996 15:42:08
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00010798
Message ID:
00010817
Views:
33
...
>
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform