Re: [fpc-pascal] problems with CORBA interfaces having no base type

2011-09-20 Thread Sven Barth
Am 20.09.2011 08:40, schrieb Graeme Geldenhuys: IObserver = interface ['{7504BB57-65D8-4D5D-86F1-EC8FFED8ED5E}'] procedure Update(const Subject: IInterface); end; How do I translate this to CORBA-style interfaces. CORBA interfaces don't have a base type like all COM interfaces ha

Re: [fpc-pascal] problems with CORBA interfaces having no base type

2011-09-20 Thread Graeme Geldenhuys
On 20/09/2011 09:31, Sven Barth wrote: > > I personally would declare my own basic interface class and derive all > other interfaces from that... This of cours only works if anyone adheres > / can adhere to that rule. I thought of this, but then my code is not very reusable by other developers.

Re: [fpc-pascal] problems with CORBA interfaces having no base type

2011-09-20 Thread Sven Barth
Am 20.09.2011 09:47, schrieb Graeme Geldenhuys: Because IInterface is designated as a COM-interface and you can't descend a CORBA-interface from a COM-interface or vice-versa. This is not what I meant. Just like the compiler has compiler modes, why can't the {$interfaces corba} change the "mode

Re: [fpc-pascal] A list of CORBA interfaces - how?

2011-09-20 Thread Flávio Etrusco
On Tue, Sep 20, 2011 at 3:28 AM, Graeme Geldenhuys wrote: > Hi, > > I'm porting some of my old Delphi code which used interfaces > extensively. Since I moved to FPC years ago, I liked the idea of > CORBA-style interfaces, and mostly use them under FPC projects. > > Anyway, some of my code used IIn

Re: [fpc-pascal] A list of CORBA interfaces - how?

2011-09-20 Thread Flávio Etrusco
Oops, seems I completely misread your post. The problem is cite is the kind of (or exactly) the one you're trying to fix :-$ Thanks for Marcos for pointing that out. -Flávio 2011/9/20 Flávio Etrusco : > On Tue, Sep 20, 2011 at 3:28 AM, Graeme Geldenhuys > wrote: >> Hi, >> >> I'm porting some of