[fpc-devel] {$Interfaces Corba} and TInterfacedObject
Graeme Geldenhuys
graemeg.lists at gmail.com
Thu Nov 29 13:26:01 CET 2007
On 29/11/2007, Graeme Geldenhuys <graemeg.lists at gmail.com> wrote:
>
> I read in a message thread from 2005 that when you use Corba style
> interfaces, interfaces are also not allowed to inherit from each
> other. Is this correct?
If that is supposed to be true, then we have a problem in FPC 2.2.0
I've just written the following and compiled the unit without any
compiler errors.
{$Interfaces Corba}
type
IntfA = Interface
function MyFunctionA: integer;
end;
IntfB = Interface(IntfA)
function MyFunctionB: String;
end;
Regards,
- Graeme -
_______________________________________________
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
More information about the fpc-devel
mailing list