On 11/10/2007, Dean Zobec <[EMAIL PROTECTED]> wrote: > > interface types. Could somebody please explain the difference. And > > why would I use one over the other? > Corba interfaces are not reference counted as they don't descend from IUnknown
So other than that, COM interfaces and CORBA interfaces share the same features? As for reference counting - that just means that as soon as the reference count for an Interfaces reaches zero, it gets automatically freed? CORBA then rather treats them like classes - you can have no other objects referencing the class, yet it stays in memory. You always need to free it off manually. > point of view see this chapter of Delphi in a Nutshell by By Ray > Lischner: > http://www.oreilly.com/catalog/delphi/chapter/ch02.html Thanks for the link and quote. It already makes more sense. Hopefully more reading about the topic will strengthen the knowledge when to use Interfaces and when to use Class Inheritance. > I'll try to find some old links about articles I've read years ago. That will be very much appreciated. Thanks. Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://opensoft.homeip.net/fpgui/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal