Callbacks are supported... http://blog.openinworld.com/2016/09/pharo-libclang-ffi-part-4-ast-walking-wi... but I'm not sure about the "asynchronous" part of your query. cheers -ben On Sat, 18 Jul 2020 at 19:56, ASAM <vmax28575@gmail.com> wrote:
I use Pharo 8(64bit) UFFI to call a dll(64bit). Over the dll I have access to 1 or more hardware devices. The dll has a function where I can register a call-back function. The callback is invoked whenever a hardware is connected or disconnected from PC.
At the moment, Pharo always crashes when the callback is executed by the dll.
Before I waste my time trying to find the bug. I wanted to ask first⦠Is Pharo supporting asynchronous callbacks?
I also found this old thread but the last entry is from 2017.
http://forum.world.st/UFFI-with-asynchronous-callbacks-td4993968.html#a50143... Now I wanted to check the current status.
Thanks for your help.
-- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html