[fpc-pascal] about interface and multiple inheritance

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Thu Feb 26 15:43:18 CET 2015

On 2015-02-26 14:34, Michael Schnell wrote:
> In fact I did understand I only am puzzled by the naming "COM" vs 
> "CORBA", that in no way suggest the real (language-) functionality "ref 
> counting" vs "not ref counting"

I know COM interface come from the need to interact with Windows COM.
CORBA (in terms of FPC), I'm not to sure of. You also get XPCOM - also
supported by FPC, and I believe this is also a non-reference counted

As for rather using "ref counted" vs "not ref counted" to reference the
different interface types (COM and CORBA). Not even that would be a good
solution, because you can implement a COM interface that doesn't have
reference counting. Simply implement the IInterface (aka IUnknown)
methods yourself and remove the reference counting bits. :-)

  - Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal

More information about the fpc-pascal mailing list