[Lazarus] IUnknown and reference counting

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Mar 21 08:07:56 CET 2013


Graeme Geldenhuys schrieb:
> On 2013-03-20 17:56, Hans-Peter Diettrich wrote:
>> TInterfacedObject *simplifies* the addition of interfaces to derived 
>> classes
> 
> 
> Just for clarity [to the original poster]... that is only for COM style
> interfaces and the reference counting part.
> 
> CORBA style interfaces have no "required" methods to implement, so in
> such a case general interface support can be added to a TObject
> descendant simply by including the interface name in the class declaration.

Does this mean that CORBA interfaces are not reference counted at all, 
or you use them without reference counting?

DoDi





More information about the Lazarus mailing list