"Jean-François GAZET" <je*******@free.fr> wrote in message
news:3f**********************@nnrp1.numericable.fr ...
Hi,
i'm writing a win32 application. I need the code to :
- start a "win32 console application" (a MSDOS EXE file)
- write to its STDIN
- read from its STDOUT
But with a thread, i think, not to "lock" the main application.
Thanks for your help.
No you do not need a thread. Windows is a multitasking operating system
which means that one program does not stop another program from running.
But this has nothing to do with C++, which is the topic of this group. You
should ask on a Windows programming group such as
news:comp.os.ms-windows.programmer.win32. Ask about the CreateProcess Win32
API function, it does what you need.
john