[Lazarus] Can't copy TMemoryStream to TProcess.Input

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Apr 6 17:46:06 CEST 2013


On Sat, 6 Apr 2013 12:37:06 -0300
Leonardo M. Ramé <l.rame at griensu.com> wrote:

>[...]
> > Check return value of Proc.Input.Write.
> > And call Proc.CloseInput when your input was written completely.
> > 
> > 
> 
> Mmm, I'm getting the same result. 
> 
> I attached the new code.

When you give Proc.Input.Write 200 bytes and it returns that the other
process could only process 100 of them. What bytes do you have to write
next?

Mattias





More information about the Lazarus mailing list