[Gambas-user] Error with VarPtr() function

Jussi Lahtinen jussi.lahtinen at gmail.com
Fri Oct 29 02:57:03 CEST 2021


>
> S is a pointer when passed to extern functions,
> So varptr does not work here
>
No, it is OK for global strings. You can read it with String@(Pointer@(p)).

Jussi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20211029/8f8a8f68/attachment.htm>


More information about the User mailing list