Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Return Value
Message
From
28/01/2005 10:21:07
 
 
To
28/01/2005 08:20:18
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00981663
Message ID:
00981729
Views:
27
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
Previous
Reply
Map
View

Click here to load this message in the networking platform