Hi Scuri, sorry my mistake. It works.I was using local var pointer. Now fixed with malloc pointer. Thank you. Best, Ranier Vilela
Date: Wed, 23 Dec 2015 14:33:19 -0200 From: [email protected] To: [email protected] Subject: Re: [Iup-users] Iup store C pointer Yes, it works. But it was broken in 3.16. It was fixed in 3.17. Best,Scuri On Wed, Dec 23, 2015 at 12:53 PM, Ranier VF <[email protected]> wrote: Hi Scuri,Is possible store C pointer with IupSetHandle, like: struct my_str_t * my_str;IupSetHandle("my_str", (Ihandle *) my_str); ... my_str = (struct * my_str_t) IupGetHandle("my_str"); // <- does not working! Best regards, Ranier Vilela Este e-mail foi enviado por um computador sem vĂrus e protegido pelo Avast. www.avast.com ------------------------------------------------------------------------------ _______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users ------------------------------------------------------------------------------ _______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
------------------------------------------------------------------------------
_______________________________________________ Iup-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/iup-users
