fpc-pascal  

Re: [fpc-pascal] tstringlist.savetostream

Michael Van Canneyt
Tue, 16 Mar 2010 00:58:36 -0700



On Mon, 15 Mar 2010, Terry A. Haimann wrote:

After running tstringlist.savetostream how can I make sure that the buffer has been flushed and data sent successfully?

It depends on the kind of stream you pass it, but for most streams:
if the call returns, all data has been written by the application layer.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal