I am compiling a rather large code that uses QuickWin functions that open a new window to display messages during execution. The line that controls how the window is to behave after execution of the program is complete is:
This should, according to the manual: "Terminates the application without displaying a message box." However, when the program is run, after it is finished a message box appears and asks if you want to close the window, yes or no. This should only happen if the line of code looked like this:
This is a problem because my program cannot be run over and over via a batch file since the program doesn't actually finish unless someone is at the computer to say yes or no.
Is there a patch/fix/work around for this? Thanks to anyone who can help.
I've tried scripting programs, but they don't work when I lock the screen when I leave - which I have to do, this code takes a very long time to run.
Also, sending an 'n' or 'y' from the batch file doesn't work because as far as the OS is concerned the program is still running when the prompt window comes up.