[Lazarus] Read/Write files question

Kjow antispammoni at gmail.com
Mon Apr 4 17:53:53 CEST 2011


2011/4/4 Sven Barth <pascaldragon at googlemail.com>:
> You must not use dynamic/managed types like strings, dynamic arrays,
> classes, etc. when using Read and/or Write. If you need strings then you
> must restrict yourself to ShortString. Otherwise you need to use TFileStream
> and read/write the file yourself.
[cut]
> Only records as far as I'm aware of.
>
> Regards,
> Sven

Oh!
Thank you, I'm very grateful for your help. This was a my bad lack.

Best regards,
Kjow




More information about the Lazarus mailing list