On 15/09/2011 16:54, Marcos Douglas wrote:
> 
> Well, wrong just because the language is so but not because is ilogical, 
> right?

Unless you are well versed with interfaces, I would not go there. Mixing
object references and interface references (especially if reference
counting is enabled) - you are bound to run into trouble.


> Hm... interesting but what are the advantages?

None of the Windows'ism like COM's IUnknown, or Delphi's IInterface
(alias to IUnknown) on any non-Windows platforms.


> I want my code compiling in Delphi 7 too, so I can have problems with this?

Then stick with Delphi (Windows COM style) interfaces. I don't believe
Delphi support any other style of interface (eg: CORBA, XPCOM etc).


Regards,
  - Graeme -

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to