[fpc-pascal]Mapping Object Pascal Classes to C++ Classes

Florian Klaempfl Florian.Klaempfl at gmx.de
Thu Nov 14 13:11:46 CET 2002

At 17:50 13.11.2002, you wrote:
> > I don't think so. I guess it works only because Borland C++ is used and
> > Delphi and BC++ use the same back end and probably a similiar VMT 
> generation.
>I think it's the way Delphi is implemented. It also works when the DLL is
>compiled with MinGW, which certainly isn't Borland compatible in the same way
>as BC++ is. I just tested it. Further, the C++ class doesn't have to be
>abstract as Rudy suggests, because I altered it to return the 'TestClass' 
>in my
>example, and it still works.

Hmmm, if I find time I'll look into it :/

> > Afaik you're one of the BeFPC people, right?
>Yeah, except I'm on hiatus from that project. There are two French guys 
>up at the moment, and they are wrapping the API directly with a different
>approach to that I started with. I want to wrap the API in a VCL/LCL style

BeOS support for the LCL :) ?

>Anyway, with the new GCC3.x 'universal' ABI, shouldn't it all become a bit
>easier soon? :-)

Yepp, but when we implement this, the GCC3 must be stabilized first.

More information about the fpc-pascal mailing list