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 IInterfaceList / TInterfaceList, but that
uses IIInterface, which is an
Hi again,
Continuing my port of old Delphi code that used interfaces extensively.
Now that FPC 2.6.0 is nearing, I can play the with Interface
improvements it has.
In some of my old Delphi code, I created a generic class that takes a
generic interface via IInterface. This class was made to be
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
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.
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
On Tue, Sep 20, 2011 at 3:28 AM, Graeme Geldenhuys
graemeg.li...@gmail.com 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
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 flavio.etru...@gmail.com:
On Tue, Sep 20, 2011 at 3:28 AM, Graeme Geldenhuys