Re: [fpc-pascal] TProcess read buffer size

2021-07-15 Thread Ryan Joseph via fpc-pascal
> On Jul 15, 2021, at 3:07 PM, Marco van de Voort via fpc-pascal > wrote: > > Not of TProcess as far as I know, it probably depends on the OS pipe > implementation and maybe the granularity that the processes that you run > outputs data. (buffers its I/O iow calls write() in 512 byte incre

Re: [fpc-pascal] TProcess read buffer size

2021-07-15 Thread Marco van de Voort via fpc-pascal
Op 2021-07-15 om 20:26 schreef Ryan Joseph via fpc-pascal: I have some code the basically does: while bytesRead > 0 do bytesRead := process.Output.Read(buffer^, kBufferSize); but bytesRead is only ever 512 per call to Read. Is this a system imposed limit or something that's part of TP

[fpc-pascal] TProcess read buffer size

2021-07-15 Thread Ryan Joseph via fpc-pascal
I have some code the basically does: while bytesRead > 0 do bytesRead := process.Output.Read(buffer^, kBufferSize); but bytesRead is only ever 512 per call to Read. Is this a system imposed limit or something that's part of TProcess? Setting kBufferSize to anything larger than 512 has n

Re: [fpc-pascal] RxDBGrid and RxColumn

2021-07-15 Thread Michael Van Canneyt via fpc-pascal
On Wed, 14 Jul 2021, Hassan Camacho Cadre via fpc-pascal wrote: Hello I am using lazarus v2.012 and rxnew 3.3.5.231. In a form I have placed a RxDBGrid component with a lookup column, I want to know if it is possible search on the values of this column as the user types, just like the TRxDBL