[fpc-pascal] Strings and objects crossing dll boundaries

2012-06-14 Thread kyan
Hello all, A couple of questions regarding handling of strings, dynamic arrays and objects -especially exceptions- when writing programs that use shared libraries (.dll, .so). In Delphi we have the option of either using packages to ensure that there is only one instance of the memory allocator

Re: [fpc-pascal] Strings and objects crossing dll boundaries

2012-06-14 Thread Marco van de Voort
In our previous episode, kyan said: A couple of questions regarding handling of strings, dynamic arrays and objects -especially exceptions- when writing programs that use shared libraries (.dll, .so). In Delphi we have the option of either using packages to ensure that there is only one

Re: [fpc-pascal] Strings and objects crossing dll boundaries

2012-06-14 Thread Mark Morgan Lloyd
kyan wrote: Hello all, A couple of questions regarding handling of strings, dynamic arrays and objects -especially exceptions- when writing programs that use shared libraries (.dll, .so). This seems to be a hot topic at the moment. In Delphi we have the option of either using packages to