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

> On 3 April 2010 21:01, Werner Van Belle <wer...@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
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to