Re: [Iup-users] Running with LuaJIT

2019-04-21 Thread Antonio Scuri
Hi All, First important thing, LuaJIT is for Lua 5.1 ONLY. See its documentation: http://luajit.org/status.html It builds a modified "lua51.dll", so the Lua DLL in IUP Tools packages must be ignored. But in IUP we use a "lua5.1.dll", notice the difference in the name. To use it with IUP th

Re: [Iup-users] Dialogs Callback SHOW_CB and CLOSE_CB seem to be interfering with each other

2019-04-21 Thread helen.wright
I suspected it might be an old bug, but I’m restricted to the IUP and Lua versions associated with the software for which I’m writing plugins – at least I have a workaround which might help others who encounter the same issue. Helen From: Antonio Scuri Sent: 21 April 2019 15:49 To: IUP

Re: [Iup-users] Dialogs Callback SHOW_CB and CLOSE_CB seem to be interfering with each other

2019-04-21 Thread Antonio Scuri
Hi, I changed your sample just to add more print info, and it is working here. See attached. I suspect this could be an old bug already fixed in previous versions. IUP 3.11.2 has more than 4 years now... Here is the output: D:\tecgraf\iup\bin\Win64\Lua51>lua5.1 \Downloads\close_show.lua SH