[Lazarus] IUnknown and reference counting
Hans-Peter Diettrich
DrDiettrich1 at aol.com
Thu Mar 21 11:24:11 CET 2013
Graeme Geldenhuys schrieb:
> On 2013-03-21 07:07, Hans-Peter Diettrich wrote:
>> Does this mean that CORBA interfaces are not reference counted at all,
>
> Correct. And as Martin said, the name "CORBA" is a bit misleading. FPC
> has no CORBA or ORB implementation, so no distributed communications can
> be done out of the box. The interfaces in that mode [CORBA style], I
> guess, is just _similar_ to real CORBA apps. The easiest way to explain
> it is that CORBA style interfaces are just like COM style interfaces,
> but without reference counting, and no IUnknown methods.
I'm not sure whether I understand what you did and want to achieve.
In an Delphi-compatible implementation *all* classes implementing
interfaces *must* be reference counted, so omitting this will result in
incompatible code.
DoDi
More information about the Lazarus
mailing list