On 2013-03-21 17:46, Hans-Peter Diettrich wrote:
>
> Thanks for giving me insight into the crippled implementation of
> interfaces in FPC :-]
Sorry, but you seem very confused. The default Interfaces "style" used
by FPC is the COM-style interfaces. 100% compatible with Delphi. So I
really do not see your problem.
IUnknown & IInterface -> Exactly the same as Delphi
TInterfacedObject -> Exactly the same as Delphi
To use CORBA-style interfaces, you need to explicitly tell the compiled
to do so, via the {$interfaces corba} directive.
I use plenty of projects that use Interfaces, and that code is shared
verbatim between Delphi and FPC. Just take a look at the tiOPF project.
Regards,
- Graeme -
--
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus