[Lazarus] IUnknown and reference counting

Sven Barth pascaldragon at googlemail.com
Thu Mar 21 21:30:17 CET 2013


On 21.03.2013 21:14, Hans-Peter Diettrich wrote:
> Sven Barth schrieb:
>
>>  > Thanks for giving me insight into the crippled implementation of
>> interfaces in FPC :-]
>>
>> Why crippled?
>
> When FPC does not allow to use delegation ("implements") together with
> implementing selected methods, this feature is of no practical use :-(

There exists at least a bug report about it: 
http://bugs.freepascal.org/view.php?id=16531 :)

> Also the hype about CORBA interfaces looks like mere eye-candy or
> obfuscation to me. Delphi interfaces require neither COM nor CORBA, they
> are only open in either direction.

But some people don't like the reference counting. They want to use 
interfaces like in other languages to just define a "interface" to a class.

Regards,
Sven





More information about the Lazarus mailing list