<div dir="ltr"><br><div class="gmail_quote">On Thu, Sep 15, 2011 at 12:27 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="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 14/09/2011 23:17, Marcos Douglas wrote:<br>
><br>
> procedure Run;<br>
> var<br>
> f: TFoo; // << type is class, not interface<br>
> o: TObj;<br>
> begin<br>
> f := TFoo.Create;<br>
<br>
</div>This is just wrong.<br>
<div class="im"><br></div></blockquote><div><br>1 - If i use the class not Interface is the recount used?<br>2 - Is that compatible with Delphi?<br><br>In 1 i meant, as i expected if i use f:IFoo the refcount counted, but if i use f:TFoo methods of reference not triggered?<br>
<br></div></div>Thanks<br>Zaher Dirkey<br>
</div>