Re: RunForm Crashes a lot : Anyone seen this?

From: <czetie_at_nospamus.oracle.com>
Date: 1997/12/19
Message-ID: <349AD369.420_at_nospamus.oracle.com>#1/1


Sounds like a runform bug: when you exit Windows, the system sends a specific message to every running app to give it the opportunity to clean up and shutdown before the system shuts down. Each application is supposed to return a "yes" value to indicate that it has shut down*. However, an app can also return a "no" value to tell Windows that for some reason it couldn't shut down right now (e.g. if you have Word open, it may pop up a dialog asking "save changes [Yes] [No] [Cancel]; if you click Cancel, Word won't exit and Windows won't shut down.) In theory, every application should either return "yes" and exit, or return "no" and not exit. Because of a bug, runform is returning "no" and exiting, which fools Windows into not shutting down. From the description I think you'll deduce that there is no obvious workaround.

*OK, strictly speaking it returns "yes" to indicate that it is about to shut down - it is the very last thing that it should do before exiting. Received on Fri Dec 19 1997 - 00:00:00 CET

Original text of this message