Information générale
Catégorie:
Fonctions Windows API
Many thanks Anatoliy,
I've created the pipes and runned the app!
But still having some problems with WriteFile(), I got "data type mismatch" when i try to use it:
**** here is how I'm using WriteFile ****
LOCAL lnBytesWritten
lnBytesWritten = 0
lcscrivi="test"
lnret=WriteFile(hChildStdinRdDup, lcscrivi, LEN(lcscrivi), @lnBytesWritten, 0)
**** here is how I'm using WriteFile ****
hChildStdinRdDup is coming from:
DuplicateHandle(GetCurrentProcess(), hWritein, GetCurrentProcess(), @hChildStdinRdDup, 0, 0,0)
which is called after (as you suggest me yesterday):
CreatePipe(@hGiveoutin, @hWritein, lcSecurity , 0)
and the createprocess too.
(I can send all the code)
thanks for your time...
Franco
Précédent
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