SHELL EXECUTE NEED QUICK ANSWER!
Posted on 2000-01-20
How do I get a return code from a program that I am using"// ShellExecute(Application.Handle,'Open',PChar(MergeCmd), nil, nil, 5 );" to call. The program that I am executing is sending back a return code of "0" for successfull or "1" for failing. How do I capture that return code? Using SHELLEXEC or some other method?