[fpc-pascal] Reference Counting

Zaher Dirkey parmaja at gmail.com
Sun Apr 4 16:53:12 CEST 2010

On Sat, Apr 3, 2010 at 10:59 PM, Graeme Geldenhuys
<graemeg.lists at gmail.com>wrote:

> On 3 April 2010 21:01, Werner Van Belle <werner at yellowcouch.org> wrote:

If you wanted real reference counted objects that gets freed
> automatically when nothing is referencing it, then create a descendant
> of TInterfacedObject.
But he must use variable of interface to use TInterfacedObject not variable
of TObject to take this advantage (if i am not wrong).

Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20100404/268d86eb/attachment.html>

More information about the fpc-pascal mailing list