Winexec or shellexecute problems

hi,

I use Winexec and shellexecute for a long time to launch from my
applications DOS or WINDOWS Programs, but today i got a new little
things to do. I need to execute a DOS Application (That's simple), and i
need to capture the standard output produced by my DOS application to
process  it. So i need to redirect temporarly the STDOUT. Does anybody
know how to do that. I've tried to redirect the System.Output of DELPHI
to a TMemo but it don't work with the DOS Program Output i run with
WinExec (But it work very well with an writeln statement).

Thanks for Help.

Alain From FRANCE.

PS : I need to do that with DELPHI 1 because my application  must run
under WIN95 and WIN 3.xx.