2007/10/11, Cesar Romero <[EMAIL PROTECTED]>: > Graeme, > > Hi, > > > > > Hi > > I want to start learning the use of Interfaces. It's a language > > feature I have by-passing for some time now. From what I have read > > this seems to be a handy language feature to learn. > > > > In the FPC documentation in mentions I can have COM or CORBA (Java) > > interface types. Could somebody please explain the difference. And > > why would I use one over the other? > > > Im not sure, but I think that the one difference is about time life: > COM uses ref count
> CORBA should be somethink like garbage collection There's no garbage collection, you have to free the object instance explicitly with the Corba type of interfaces in FPC. Corba interfaces do not descend from IUnknown. Dean _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal