Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-13 Thread Zaher Dirkey
On Tue, Apr 12, 2011 at 11:42 AM, michael.vancann...@wisa.be wrote: On Tue, 12 Apr 2011, Andreas Dorn wrote: On Fri, 8 Apr 2011,michael.vancanneyt worte: The whole idea of interfaces is to avoid multiple inheritance. Hm. I don't believe that. One of the major points of interfaces is

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-12 Thread Andreas Dorn
On Fri, 8 Apr 2011,michael.vancanneyt worte: The whole idea of interfaces is to avoid multiple inheritance. Hm. I don't believe that. One of the major points of interfaces is indeed to avoid the problems of multiple class inheritance (diamond problems - i.e. problems caused by conflicting

[fpc-pascal] Inherit interface from 2 interfaces

2011-04-12 Thread Andreas Dorn
On Tue Apr 12, michael.vancanneyt worte: On Tue, 12 Apr 2011, Andreas Dorn wrote: On Fri, 8 Apr 2011, michael.vancanneyt worte: The whole idea of interfaces is to avoid multiple inheritance. Hm. I don't believe that. One of the major points of interfaces is indeed to avoid the problems of

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-09 Thread Flávio Etrusco
On Fri, Apr 8, 2011 at 6:16 AM, michael.vancann...@wisa.be wrote: On Fri, 8 Apr 2011, Zaher Dirkey wrote: 2011/4/7 Flávio Etrusco flavio.etru...@gmail.com On Wed, Apr 6, 2011 at 1:37 PM, Zaher Dirkey parm...@gmail.com wrote: Can i do that? type  IIntf3 = interface(IIntf11, IIntf2)

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-08 Thread Zaher Dirkey
2011/4/7 Flávio Etrusco flavio.etru...@gmail.com On Wed, Apr 6, 2011 at 1:37 PM, Zaher Dirkey parm...@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.

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-08 Thread michael . vancanneyt
On Fri, 8 Apr 2011, Zaher Dirkey wrote: 2011/4/7 Flávio Etrusco flavio.etru...@gmail.com On Wed, Apr 6, 2011 at 1:37 PM, Zaher Dirkey parm...@gmail.com wrote: Can i do that? type IIntf3 = interface(IIntf11, IIntf2) end; Thanks in advance. -- Zaher Dirkey For Corba interfaces,

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-07 Thread Flávio Etrusco
On Wed, Apr 6, 2011 at 1:37 PM, Zaher Dirkey parm...@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 -Flávio

[fpc-pascal] Inherit interface from 2 interfaces

2011-04-06 Thread Zaher Dirkey
Can i do that? type IIntf3 = interface(IIntf11, IIntf2) end; Thanks in advance. -- Zaher Dirkey ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] Inherit interface from 2 interfaces

2011-04-06 Thread Juha (gmail)
Zaher Dirkey kirjoitti keskiviikko, 6. huhtikuuta 2011 19:37:04: Can i do that? type IIntf3 = interface(IIntf11, IIntf2) end; No but you can do: type MyClass = class(IIntf11, IIntf2) end; Juha ___ fpc-pascal maillist -