Re: [Iup-users] FW: IUP crash in Debug Mode

2019-06-24 Thread Simon Orde
Did you try the script in my last message? Because that also causes our application to close, and in that case it happens even if (in fact only if) the script is not run under the lua debugger. When the script exits, the ‘ExitInstance’ method of our application object is called which suggests

Re: [Iup-users] FW: IUP crash in Debug Mode

2019-06-24 Thread Antonio Scuri
> Is there any way I can stop it doing that? No > Has IUP always posted WM_QUIT messages? I think Yes > I wasn’t clear from your reply what you think needs to be done. Actually neither I... > From my point-of-view, I don’t want IUP to ever close down my application in any

Re: [Iup-users] FW: IUP crash in Debug Mode

2019-06-24 Thread Simon Orde
Hi Scuri – I wasn’t clear from your reply what you think needs to be done. From my point-of-view, I don’t want IUP to ever close down my application in any circumstances. So I don’t want it to ever post any WM_QUIT message (or call PostQuitMessage). Is there any way I can stop it doing that?