[fpc-pascal] Inherit interface from 2 interfaces

Zaher Dirkey parmaja at gmail.com
Fri Apr 8 09:48:56 CEST 2011


2011/4/7 Flávio Etrusco <flavio.etrusco at gmail.com>

> On Wed, Apr 6, 2011 at 1:37 PM, Zaher Dirkey <parmaja at gmail.com> wrote:
> > Can i do that?
> > type
> >   IIntf3 = interface(IIntf11, IIntf2)
> > ....
> >   end;
> >
> > Thanks in advance.
> > --
> > Zaher Dirkey
> >
>
> For Corba interfaces, yes. Not for COM interfaces.
> http://www.freepascal.org/docs-html/ref/refse39.html
>
>
I added {$INTERFACES CORBA} but same error ~Fatal: Syntax error, ")"
expected but "," found~ in the line ~IIntf3 = interface(IIntf11, IIntf2)~

-- 
Zaher Dirkey
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20110408/5d5ed09a/attachment.html>


More information about the fpc-pascal mailing list