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

2019-06-19 Thread Antonio Scuri
Ok. Can you make a simple test? To replace IupButton by IupFlatButton and check if there is any difference? Best, Scuri Em qua, 19 de jun de 2019 às 15:05, Simon Orde < simono...@family-historian.co.uk> escreveu: > … sorry – yet more clarification. > > > > When I said “if I modify the scri

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

2019-06-19 Thread Antonio Scuri
Ok. Em qua, 19 de jun de 2019 às 15:03, Simon Orde < simono...@family-historian.co.uk> escreveu: > To be precise, when I said “If I run the iup dialog script from my > previous post… in (Visual C++) debug mode … it will close the application”, > I meant: “… it will close the application *if*

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

2019-06-19 Thread Antonio Scuri
> What else is different about the way we do things? Nothing, just that. What I'm used to see is the Lua context is just one and the same in the entire time the application is running. To destroy the Lua context every time is just different for me, not a wrong way to do things. > does IUP ever

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

2019-06-19 Thread Simon Orde
… sorry – yet more clarification. When I said “if I modify the script to add something (a message box) say, after the call to “dlg:destroy()”, the message box code never gets called if I call dlg:destroy.” Again – what I meant is that if you click on the ‘OK’ button in the dialog, the

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

2019-06-19 Thread Simon Orde
To be precise, when I said “If I run the iup dialog script from my previous post… in (Visual C++) debug mode … it will close the application”, I meant: “… it will close the application if you click on the OK button in the dialog”. It will not close the application if you click on the ‘X’ in the

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

2019-06-19 Thread Simon Orde
Hi Thanks for the reply. >> First, what do you mean by Debug Mode? Are you debugging the Visual C++ >> application or the Lua script? By ‘Debug Mode’ I mean that I am running my Visual C++ application under the Visual C++ debugger. My application has its own editor/debugger for run

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

2019-06-19 Thread Antonio Scuri
Hi Simon, I can't see anything wrong with your script. First, what do you mean by Debug Mode? Are you debugging the Visual C++ application or the Lua script? When not in debug mode it works? Second, you have a very peculiar configuration as we speak previously. Maybe you will have to bui