[Lazarus] Traverse a TFPDataHashTable
xrfang
xrfang at gmail.com
Fri Dec 28 12:52:11 CET 2012
Cool, btw, what is the release plan for 2.6.2 and 2.6.4 ?
在 五, 12月 28, 2012 at 7:36 下午,Sven Barth <pascaldragon at googlemail.com> 写道:
On 28.12.2012 12:22, xrfang wrote:
> Hi,
>
> How can I traverse a TFPDataHashTable? The ForEachCall method is
> protected. Do I have to write a sub-class to expose this method?
>
> The requirement is that I use it to organize a bunch of objects, and
> need to free the memory of these objects.
Around two weeks ago a public call "Iterate" was added to "TFPDataHashTable" in trunk. If you use 2.6.0 or the to-be-released 2.6.2 you'll need to either sub-class the type or use a class helper...
Regards,
Sven
--
_______________________________________________
Lazarus mailing list
Lazarus at lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20121228/ab01cb45/attachment-0003.html>
More information about the Lazarus
mailing list