Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2006-01

Re: IInterface IUnknown

5 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Vincent Snijders
Mattias Gaertner wrote 12 lines
My ISP is currently on a blacklist, so I can't send a mail to the FPC list. Can someone ask on the fpc list for me: Why has Delphi 7: IUnknown = IInterface; and FPC IInterface = IUnknown; ?

Vincent

Reply by email

Florian Klaempfl
to Vincent Snijders
Vincent Snijders wrote 16 lines
Mattias Gaertner wrote: > My ISP is currently on a blacklist, so I can't send a mail to the FPC > list. > Can someone ask on the fpc list for me: > > Why has Delphi 7: > > IUnknown = IInterface; > > and FPC > > IInterface = IUnknown; > > ?

History.

Reply by email

dannym
to Florian Klaempfl

Hi,

Florian Klaempfl wrote 20 lines
Vincent Snijders wrote: > Mattias Gaertner wrote: > >> My ISP is currently on a blacklist, so I can't send a mail to the FPC >> list. >> Can someone ask on the fpc list for me: >> >> 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?

cheers,
Danny

Reply by email

Mattias Gaertner
to Vincent Snijders
Show quoted text 27 lines
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

Reply by email