Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return Value
Message
De
28/01/2005 10:21:07
 
 
À
28/01/2005 08:20:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
00981663
Message ID:
00981729
Vues:
29
Instead of CANCEL or QUIT to exit VFP, you make an API call. lnRetVal is the return value you want to use
  DECLARE ExitProcess IN WIN32API INTEGER ExitCode
  ExitProcess(lnRetVal)
>Does anyone know of a way to set the return code from a FoxPro program so that my .NET program can check the return code after calling a FoxPro exe? Typically after calling a command line app in .NET you check the return code from that exe to determine if there were errors… I was wondering if there is a way to make FoxPro return an error code to the operating system so that the calling program knows about it without looking for error files.
>Thanks,
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform