[fpc-pascal] Implementing an interface force me to add _AddRef, _Release
Marc Weustink
marc at dommelstein.net
Thu Apr 15 19:58:23 CEST 2010
Zaher Dirkey wrote:
> On Thu, Apr 15, 2010 at 11:09 AM, Michael Van Canneyt
> <michael at freepascal.org> wrote:
>> {$INTERFACES CORBA}
>
> {$INTERFACES CORBA}
>
> It is resolved my problem, Is there any limit to use it (except it is
> not work in Delphi)?
You cannot use casts like
var
a: IMyObject;
b: IMyOtherObject;
begin
b := a as IMyOtherObject;
or functions like supports() (which uses queryinterface)
Marc
More information about the fpc-pascal
mailing list