Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning an exit code to the OS
Message
From
15/05/2000 15:42:47
 
 
To
15/05/2000 12:51:27
Fausto Garcia
Independent Developer
Lima, Peru
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00369685
Message ID:
00369762
Views:
19
>Good morning from Lima, Peru
>
>How can I return an exit code to the operating system from my visual foxpro .exe programs at runtime?
>I have tried making a RETURN statement as the last line of my main .prg program, but it does not seem to work.
>

There's an entry in the FAQ describing how to do this using the Win32 API ExitProcess(), so check the FAQ.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform