[Pharo-users] uFFI ExternalAddress challenges
Tomaž Turk
tomaz.turk at ef.uni-lj.si
Tue Sep 17 06:00:29 EDT 2019
OK, great, I'll try it out.
Thanks,
Tomaz
------ Original Message ------
From: "Guillermo Polito" <guillermopolito at gmail.com>
To: "Tomaž Turk" <tomaz.turk at ef.uni-lj.si>
Sent: 17.9.2019 11:56:21
Subject: Re: [Pharo-users] uFFI ExternalAddress challenges
>I don’t know if there is support for that (I don’t have the time to
>check it in detail now).
>But, as a workaround, you may try
>
> - return a void*
>
> myFunction
> ^self ffiCall: #(void* myFunction ( void ) )
>
> - and then do the transformation yourself using
>Win32WideString>>#fromHandle:
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20190917/1a501826/attachment.html>
More information about the Pharo-users
mailing list