Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning an exit code to the OS
Message
De
15/05/2000 15:42:47
 
 
À
15/05/2000 12:51:27
Fausto Garcia
Independent Developer
Lima, Pérou
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00369685
Message ID:
00369762
Vues:
18
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform