[fpc-pascal] Question about functions returning a string
Ewald
ewald at yellowcouch.org
Sun Nov 30 14:52:37 CET 2014
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 language
can't do anything useful with it, my thought was that it would be
possible to pass along these managed types (especially string, as it is
a pointer internally) to another pascal function (a callback in my case).
--
Ewald
More information about the fpc-pascal
mailing list