Information générale
Catégorie:
Fonctions Windows API
Titre:
Creating a Child Process with Redirected Input and Output
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement