Hi Christof, That looked ideal for a problem I have but still leaves objects hanging. Could you give me the syntax or a code snippet for the TerminateProcess call please? I'd like to give that a try.
TIA John Weller Wessex Computer Solutions 01380 728880 07976 393631 > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Christof Wollenhaupt > Sent: 12 October 2006 15:03 > To: [EMAIL PROTECTED] > 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.

