General information
Category:
Windows API functions
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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only