Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a Child Process with Redirected Input and Output
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Creating a Child Process with Redirected Input and Output
Miscellaneous
Thread ID:
00810688
Message ID:
00810688
Views:
82
I'm not a C+ programmer nor an API expert, so apologize me for my terms if they are not right...
I need to run an external program (written in C) from a mine vfp application, and I need to create a pipe between the two apps so they can communicate.
And, of course, send data to the C program and read data it send back to the standard output.
I have understood that I'll have to use the API functions:

CreateProcess()
CreatePipe()
ReadFile()
WriteFile()
CloseHandle()

and so on, but I'm really lost!
I've just read some docs on MSDN, but they are all C-syntax and I'll appreciated any help on how to use it in VFP...
Thanks!

Franco
Next
Reply
Map
View

Click here to load this message in the networking platform