Newsgroups : Borland : borland.public.delphi.nativeapi.win32 : 2005 May : Get Result of CreateProcess

www.cryer.info
Managed Newsgroup Archive

Get Result of CreateProcess

Subject:Get Result of CreateProcess
Posted by:"Alberto" (asapin..@hotmail.com)
Date:Wed, 25 May 2005 19:12:55

I'm using CreateProcess(really i'm using ExecNewProcess that uses
CreateProcess) to execute a program.
I would like this program to return a result (ex: 0-OK or 1-Error1
2-Error2).
How can i obtain this result?

Thanks

Replies:

www.cryer.info
Managed Newsgroup Archive