On 26 Feb 2011, at 08:12, leledumbo wrote: >> can i pass ansistrings ? > > Yes, but only if you know what you're doing. NEVER modify the passed strings > (it would confuse the reference counting). Use const parameter all the time.
Or, alternatively, use the "cmem" unit in both the application and the plugin (or the "sharemem" unit under Windows). Jonas_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal