Some exes like java.exe, javac.exe, display
output on the MS-Dos window. How can I
catch the message if I use

CreateProcess
ShellExecute
ShellExecuteEx

to execute them from a my appliucation created
by VC++?


Your advice would be highly appreciated.

Xiaojian Liu