Hi All
Hope you are well, I have a compiled programme in 2019 build 2170 32bit compile
When i quit my programme ( halt close )
The programme seems to quit but if i look at task manager the programme is still listed as running
This is on windows 7 32bit
Any ideas whats wrong or how i can troubleshoot ?
regards and thanks in advance
Andrew
Yes, using a MessageBox() command to then try & open a Response window during an App close operation is really dicey. Especially as you move from PB release to release and/or MS-Windows release to release as this often changes timing of when some events occur and even the order of the events firing remember that PB vents are activated based on the Windows Message Queue and when a MsgID arrives from the O/S). I have found too that this can also change in 32 vs 64 bit EXE executions as well.
So my advise would be to only use a MB() command in a CloseQuery event and for the Close event(s) themselves, just LOG the information to a App log file or the O/S's event log. No GUI interaction. Just my $0.02. HTH
Regards ... Chris
Thanks for the info good to know, I only added the messagebox to see if i could try to see what was happening and see if the close event was completing which it seems to be
How can i tell what is still open / objects in memory etc. It seems that when running through the ide/debugger its not terminating properly either.
regards
Andrew
The use of the debugger in a Close, De-activate / Activate or Focus / LooseFocus event has always been dicey. That has been well documented for decades in the PB help under the related debugging sections. At best case, you might get through one of these events once - but typically, not a 2nd time.
Regards ... Chris