Please accept my apologies to the ENTIRE FPC TEAM. I should have never asked this. I was weak! (Pipe dream).
I have realized that this is the freepascal project, and all effort should be done to keep things in pascal. I am myself a big pascal fan, and I have forsaken my values and fundamentals. Please feel free to slap me. I have stopped my whining and ported the code from c++ to fpc. Problem solved. On Mon, Sep 14, 2009 at 8:34 PM, Marco van de Voort <[email protected]> wrote: > In our previous episode, Desmond Coertzen said: > > I need some advice: > > > > I have a few c++ source files containing conversion functions. Is it at > all > > possible to compile them into my fpc project? > > > > Is this possible with fpc? Am I under > > the influence of a pipe dream? > > Wrap it in plain C and stuff it in a library with libstdC++ linked to it. > Then write a Pascal header for > it, and use it like any C library. > > > I imagine I have seen this in kylix 3. > > Could be, but that is because Borland also has a BCB C++ compiler that is > kept strictly in line with Delphi from a compatibility aspect. > > In BCB there is also specific syntax to declare stuff Delphi compatible. > _______________________________________________ > fpc-devel maillist - [email protected] > http://lists.freepascal.org/mailman/listinfo/fpc-devel >
_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
