That is what I use. Also this works: DECLARE ExitProcess IN kernel32 INTEGER uExitCode ExitProcess(0)
----- Original Message ----- From: "Christof Wollenhaupt" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, October 12, 2006 7:03 AM Subject: RE: Why will VFP9 not QUIT? Hi, I've seen this behavior from time to time in VFP9. Try this code to terminate VFP gracefully: Declare ExitProcess in Win32API Long ExitProcess(1) If that doesn't work, you need the TerminateProcess API function which is the same as ending a process in the TaskManager. -- Christof [excessive quoting removed by server] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

