On 09 Dec 2009, at 14:23, 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?

Just make sure that the exported routines
a) are declared as cdecl or stdcall (depending on platform requirements)
b) don't have parameters or function results that are Pascal-specific (since you may not be able to represent them in other languages), and in particular no reference-counted, types (local variables don't matter)


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

Reply via email to