[Lazarus] FW: Re: more file operation problems

Sergei Gorelkin sergei_gorelkin at mail.ru
Thu Dec 15 13:39:40 CET 2011


15.12.2011 16:10, Bart пишет:
> On 12/12/11, Chris Kelling<kellingc at cox.net>  wrote:
>
> As I posted in the other thread
> (http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-December/069100.html)
> I think the problem is in the definition of your record type
> stockitem.
> It uses strings. Explicitely change that to ShortString.
>
Exactly so. Managed types cannot be used in typed files. This is rejected by Delphi, and by FPC > 
2.4.4 as well. See http://bugs.freepascal.org/view.php?id=15447

Sergei




More information about the Lazarus mailing list