Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating a Child Process with Redirected Input and Output
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Creating a Child Process with Redirected Input and Output
Divers
Thread ID:
00810688
Message ID:
00810688
Vues:
84
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform