[Gambas-user] Object.address() returns wrong address for a structure
Benoit Minisini
benoit.minisini at gambas-basic.org
Sun Mar 26 20:27:43 CEST 2023
Le 26/03/2023 à 18:07, Brian G a écrit :
> But when working with structures, Returning a Gambas is really not of
> any use to anyone. Would it not be more consitant to return the
> actual address of the structure as it was assigned?
No, because this is not the goal of Object.Address().
You need a new API, something like Object.Data(), that will return a
pointer to the date pointed by the object.
Regards,
--
Benoît Minisini.
More information about the User
mailing list