On Sunday, 26. February 2012 19.38:39 Marco van de Voort wrote:
> >
> > How does the memory release work? With tbookmarkstr it was done
> > automatically by the compiler.
>
> TDataset.freerecord. That Delphi compatible though in current delphi's that
> is probably empty, since tbookmark is tbytes there.
>
There is no TDataset.freerecord() procedure in FPC trunk AFAIK.
Please add TDataset.BookmarkStr property:
"
public
property BookmarkStr: TBookmarkStr read GetBookmarkStr write
SetBookmarkStr;
"
so in user code we can have a bookmark type with automatic memory management.
Thanks, Martin
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus