(ot) redirecting output from a console program

f.e's icon

This is more an os specific question, but as i'm stuck since a few days
(!) i wonder if someone has good tricks to redirect the output of a
console program launched through CreateProcess (win32 api) ? The only
answers i got are : it's really straightforward (no examples !) or it's
really complicated (600 lines of code to build fake pipes and so on...).

usefull links :

cheers

f.e

--
f.e chanfrault | aka | personal computer music
> >>>>>> http://www.personal-computer-music.com
> >>>>>> |sublime music for a desperate people|