On Sat, Apr 3, 2010 at 10:59 PM, Graeme Geldenhuys
<[email protected]>wrote:

> On 3 April 2010 21:01, Werner Van Belle <[email protected]> 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  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to