On 09 Dec 2009, at 14:30, Michael Van Canneyt wrote:
On Wed, 9 Dec 2009, Graeme Geldenhuys wrote:
Is it possible, or is there something special that needs to be done
to
create a library that could be used by other languages?
For example. I'm interested in created a library (.dll and .so) of
fpGUI
Toolkit, so the library can be reused by other fpGUI based
applications
(reducing deployment size of executables), and allow languages like
C to
use the fpGUI Library (.DLL and .SO) to create C gui applications.
This
also means I can deploy "minor fixes" in the fpGUI library, without
having
te recompile all the applications.
Is this possible with Free Pascal?
1. Not without package support.
Ah yes, I missed the "library can be reused by other fpGUI based
applications (reducing deployment size of executables)" part. That
indeed requires packages support. Using it from another language
doesn't though (but indeed requires flattening the interface).
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal