Re: [fpc-pascal] Question about functions returning a string

2014-11-30 Thread Ewald
On 11/29/2014 02:46 PM, Sven Barth wrote: In general managed types (which a (Ansi)String is) are passed as parameters. That is very interesting knowledge. Thanks! So in general, one should not use managed types in the prototype of an exported (public) function? While I do know that the other

Re: [fpc-pascal] Question about functions returning a string

2014-11-30 Thread leledumbo
So in general, one should not use managed types in the prototype of an exported (public) function? Bingo. At least not until we have properly sharable RTL. my thought was that it would be possible to pass along these managed types (especially string, as it is a pointer internally) to another