[Gambas-user] A "Callback" function doesn't work.

Benoît Minisini gambas at ...1...
Thu Jul 18 17:43:32 CEST 2013


Le 18/07/2013 17:32, Benoît Minisini a écrit :
> Le 18/07/2013 16:53, Jussi Lahtinen a écrit :
>> Maybe Benoit could send his modifications to this list?
>>
>
> Here it is. I just changed the line I talked about, and run the code
> outside of the GUI loop.
>
> Alas I was wrong, the program now crashes again in jack_activate().
>
>

Anyway, don't expect your callback to work, as it is run in another 
thread, and the Gambas interpreter cannot be run outside of the main thread.

Regards,

-- 
Benoît Minisini




More information about the User mailing list