Hi Jean, > we have an VFP executable that return either .T. if it run without errors and return .F. in case of errors
That doesn't work this way. To return an exit code from VFP, you have to call the ExitProcess API function instead if QUIT in your VFP application: Declare ExitProcess in Win32API Long ExitProcess(1) The value you pass to this function is the exit code. -- Christof _______________________________________________ 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 Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/bab4bb2eef3b4e08be4c7e1bd3dd5...@fpl5 ** 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.

