[Lazarus] Traverse a TFPDataHashTable
Sven Barth
pascaldragon at googlemail.com
Fri Dec 28 12:36:23 CET 2012
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
More information about the Lazarus
mailing list