On Wed, 9 Dec 2009, Graeme Geldenhuys wrote:

Hi,

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.

2. Since FPGui is object oriented, it will be unusable unless you devise
  a 'flat' API.

Michael.
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to