Yes, this was possible with Kylix, however, it requires the usage of PIC also inside the caller.
Thanks for the information. It's good to know about the h2pas option. I was not aware of it. In the many options --help show, it is described as
-P use proc. vars for imports I was looking for something like "dynamic" Regards Theo _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal