2016-04-14 10:58 GMT-03:00 Graeme Geldenhuys <mailingli...@geldenhuys.co.uk> :
> On 2016-04-14 14:15, Marcos Douglas wrote: > > because you gain more than just automatic memory release. > > It is also worth noting that not all Interface usage means “automatic > memory release”. If you use COM-style Interfaces, then yes you get > memory management. Not necessarily, you can use COM interfaces with TComponent or other class that implements addref method but does not automatically frees the instance when refcount is zero Luiz
_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal