Closed GoogleCodeExporter closed 8 years ago
Yes, well, the key issue here is that of memory management for the Objects[]
property.
TStringList uses Pointers, so couldn't be used for placing script objects in it.
TdwsStringList uses reference-counted interfaces, but thus isn't compatible
with TStringList.
All should be resolvable once the Delphi gets GC or ARC, but ad interim, I'm
afraid, there will only be halfway solutions... One such solution if you don't
need/want to expose the Objects[] property is to make a different
implementation, that would use a TStringList internally.
However, even with that, you'll still have memory management issues to deal
with with the TStringList itself (who should release it? when? etc.)
Original comment by zar...@gmail.com
on 4 Sep 2012 at 9:54
Original comment by zar...@gmail.com
on 11 Jun 2013 at 7:21
Original issue reported on code.google.com by
masonwhe...@gmail.com
on 16 Jul 2012 at 1:39