Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get a return value from a FoxPro program
Message
De
29/04/1999 20:01:31
 
 
À
29/04/1999 17:32:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00213690
Message ID:
00213713
Vues:
36
>Hello:
>I am invoking a Visual FoxPro program from a C++ application. I am basically creating a process to invoke the Visual FoxPro program.
>
>How can I send return code from VFP application to the C++ application. I like to inform C++ application of any failure in the VFP application.
>

Rather than using a QUIT statement to terminate VFP, you need to shut down by calling the Win32 API ExitProces():
DECLARE ExitProcess IN WIN32API ;
   INTEGER uExitCode
=ExitProcess(<i>numeric exit code</i>)
>Any help is appreciated.
>
>Thanks in advance.
>
>regards
>Anil
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform