[fpc-devel] IInterface IUnknown

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Jan 7 15:33:02 CET 2006


On Sat, 07 Jan 2006 12:40:44 +0100
Vincent Snijders <vsnijders at quicknet.nl> wrote:

> dannym wrote:
> > Hi,
> > 
> > Am Freitag, den 06.01.2006, 21:29 +0100 schrieb Florian Klaempfl:
> > 
> >>Vincent Snijders wrote:
> >>
> >>
> >>>Mattias Gaertner wrote:
> >>>>Why has Delphi 7:
> >>>>
> >>>>IUnknown = IInterface;
> >>>>
> >>>>and FPC
> >>>>
> >>>>IInterface = IUnknown;
> >>>>
> >>>>?
> >>>
> >>History.
> > 
> > 
> > How on earth did he even notice that it is so ? I'm curious, does it
> > affect anything?
> > 
> 
> http://www.lazarus.freepascal.org/mantis/view.php?id=1575

To explain it:

AFAIK every interface under Delphi derives from IInterface, just like every
class derives from TObject.
As IUnknown does not derive from IInterface under FPC I was wondering if the
above is a myth, and/or FPC is more flexible here.


Mattias



More information about the fpc-devel mailing list