Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return a value from exe
Message
From
08/11/1999 12:23:20
 
 
To
08/11/1999 11:57:55
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00288475
Message ID:
00288505
Views:
12
>Hi!
>
>I am building a small project to be executed from an SQL server job as an operating system command (cmdexec). I need to return a value (exit code) to the server agent to be able to report failure or success.
>Can I set up the project to be able to return a value from the exe?

Yes - look in the FAQ under Win32 and Other APIs; I have at least one entry on how you can use the ExitProcess() API to close down VFP and return an exit code.
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
Next
Reply
Map
View

Click here to load this message in the networking platform