Menu

#18 StSpawn exit code

open
nobody
5
2013-01-15
2003-09-22
Bill Florac
No

Add a "Last Exit Code" property.
By calling GetExitCodeProcess, you can get the last exit
code of an application.

I added this in the TStSpawnApplication.DoOnThreadEnd
procedure just before the notify event is called.

GetExitCodeProcess(FWaitThread.WaitFors^
[0],FLastExitCode);

Discussion


Log in to post a comment.