Connecting Tech Pros Worldwide Forums | Help | Site Map

Thread

Jean-François GAZET
Guest
 
Posts: n/a
#1: Jul 19 '05
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.



John Harrison
Guest
 
Posts: n/a
#2: Jul 19 '05

re: Thread



"Jean-François GAZET" <jeffgazet@free.fr> wrote in message
news:3f478fb6$0$2411$a3f2974a@nnrp1.numericable.fr ...[color=blue]
> 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.
>[/color]

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


Kevin Goodsell
Guest
 
Posts: n/a
#3: Jul 19 '05

re: Thread


Jean-François GAZET wrote:[color=blue]
> 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.
>
>[/color]

I am unable to locate a C++ question here. Perhaps you have the wrong
group? Please re-read the welcome message, paying particular attention
to the section on topicality.

http://www.slack.net/~shiva/welcome.txt

-Kevin
--
My email address is valid, but changes periodically.
To contact me please use the address from a recent posting.

Jean-François GAZET
Guest
 
Posts: n/a
#4: Jul 19 '05

re: Thread


> > Hi,[color=blue][color=green]
> >
> > 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.
> >
> >[/color][/color]
[color=blue]
> I am unable to locate a C++ question here.[/color]

I'm asking about C++ source code and functions to do what i wrote. But
forget, i asked to news:comp.os.ms-windows.programmer.win32


Closed Thread