On 07 Dec 2012, at 18:10, Martin wrote: > But today, there is no better way, to use PascalScript in a compiled app. > Once a released FPC offers a better way, well great. But till then, I must go > the risky way (or not go at all).
Mixing dynamically calling routines whose calling ABI interface is not rigidly defined is broken by design. The proper way would be to generate cdecl wrappers (because the cdecl calling convention is fully specified in the various ABIs) and calling those. Jonas_______________________________________________ fpc-devel maillist - [email protected] http://lists.freepascal.org/mailman/listinfo/fpc-devel
