[fpc-pascal] How to use pipes ?

fredvs fiens at hotmail.com
Wed Feb 1 13:02:05 CET 2017


Hello.

I have done lot of search on internet about pipes without success.
Even for Delphi. no demo nor explanation.
The same in fpc wki page.

For example, how to use bytesavailable with pipes ?

In:  
CreatePipeHandles(InHandle, OutHandle, APipeBufferSize);

InPipe.Read(Bufferout[0],BPipeBufferSize);

What is the the ratio with APipeBufferSize vs  BPipeBufferSize ?

And length of Bufferout[0] vs APipeBufferSize vs BPipeBufferSize ?

In short, a demo will be welcome.

Fre;D



-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/How-to-use-pipes-tp5727538.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list