<div dir="ltr"><br><br><div class="gmail_quote">On Sat, Apr 3, 2010 at 10:59 PM, Graeme Geldenhuys <span dir="ltr"><<a href="mailto:graemeg.lists@gmail.com">graemeg.lists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 3 April 2010 21:01, Werner Van Belle <<a href="mailto:werner@yellowcouch.org">werner@yellowcouch.org</a>> wrote:<br></blockquote><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

If you wanted real reference counted objects that gets freed<br>
automatically when nothing is referencing it, then create a descendant<br>
of TInterfacedObject.<br>
<br></blockquote><br></div>But he must use variable of interface to use TInterfacedObject not variable of TObject to take this advantage (if i am not wrong).<br><br clear="all"><br>-- <br>Zaher Dirkey<br>
</div>