Yesterday, 13:58
I'm with Dale on this one, using it inside a message callback breaks the message loop and prevents a proper cleanup... forcing multiple DIALOG END calls inside a local callback is most likely causing you to crash before the process can exit. Another thing to look at is when you are launching PID = SHELL("PAY.EXE", 1) at practically the same time when you are destroying the parent process. You should consider restructuring your exit path, fix it by removing all of this from the callback and let the dialogs close and handle the SHELL, CLOSE, and END in your main execution loop after the DIALOG LOOP terminates.
