[Lazarus] FW: Re: more file operation problems

Bart bartjunk64 at gmail.com
Thu Dec 15 22:45:57 CET 2011


On 12/15/11, Chris Kelling <kellingc at cox.net> wrote:

> Thanks for helping me work through a stupid rookie mistake.

Did that once myself.
In a test program when I wrote and then read again all worked fine,
only because the pointer was still valid.
When I examined the file, the filesize looked much smaller then I expected.
Then SizeOf(MyRecordType) turned out to be not what I expected, and
finally I got it.

Bart




More information about the Lazarus mailing list