[Lazarus] TFileStream

Dave Coventry dgcoventry at gmail.com
Mon Jan 26 21:52:27 CET 2009


2009/1/26 Andrew Brunner <andrew.t.brunner at gmail.com>:
> Actually, I'm thinking you're creating a memory problem with using
> fillchar and passing the pointer to the dynarray instead of the
> element.  Try using FillChar with the zero element again...  The
> reason why the construction maybe failing is b/c a potential memory
> leak created by not using the zero element of the dynarray you are
> using.

So you're saying that if I miss out the Fillchar function, it will
work a expected? Apart from the fact that my array won't be filled
with spaces, of course.



More information about the Lazarus mailing list