[fpc-pascal]linking pascal objects/units into C
Peter Vreman
peter at freepascal.org
Tue Jun 19 08:02:22 CEST 2001
> Hi Peter,
>
>
> > Using the latest snapshots (both 1.0.5 or 1.1 support it) it is possible to create a
> > shared library the same way as creating a dll under windows. This library can then be
> > linked in your C program
>
>
> I did this without using the latest snapshots, that is, using the (old)
> binary distribution of 1.0.4 on the free pascal site.
But the unit initialization/finalization code is then not run. So a writeln() from the
library doesn't work
More information about the fpc-pascal
mailing list