Cool, btw, what is the release plan for 2.6.2 and 2.6.4 ? 在 五, 12月 28, 2012 at 7:36 下午,Sven Barth <[email protected]> 写道: 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
-- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
