[fpc-pascal] Specifying a Interface type via $Interfaces

Dean Zobec dean.zobec at gmail.com
Fri Oct 12 23:09:36 CEST 2007


2007/10/11, Graeme Geldenhuys <graemeg.lists at gmail.com>:
> On 11/10/2007, Dean Zobec <dean.zobec at gmail.com> 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?
for a good example of refcounting interfaces you can take a look at
the money.pp fpcunit example and the relative tests.
fcl-fpcunit/src/exampletests/money.pp



More information about the fpc-pascal mailing list