[fpc-devel] Linking to C++

Marco van de Voort marcov at stack.nl
Tue Jan 23 13:23:25 CET 2007


> 
> Thanks for the clarifying statement, Peter
> 
> I's obvious that linking Object Pascal and C++ in that way is not possible.
> 
> OTOH, is interfaces not invented for object based inter-language 
> communication ?

Yes. But between willing partners, not for OOP language A to be able to
access any OOP language B without cooperation from B.

People often think this because e.g. on windows there are some similarities
between object layout because of COM. But this is an exception, not a rule.

 



More information about the fpc-devel mailing list