On Thu, Sep 15, 2011 at 12:27 PM, Graeme Geldenhuys <graemeg.li...@gmail.com > wrote:
> On 14/09/2011 23:17, Marcos Douglas wrote: > > > > procedure Run; > > var > > f: TFoo; // << type is class, not interface > > o: TObj; > > begin > > f := TFoo.Create; > > This is just wrong. > > 1 - If i use the class not Interface is the recount used? 2 - Is that compatible with Delphi? 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? Thanks Zaher Dirkey
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal