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
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to