By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,819 Members | 1,173 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,819 IT Pros & Developers. It's quick & easy.

Thread

P: n/a
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.
Jul 19 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a

"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
Jul 19 '05 #2

P: n/a
Jean-François GAZET wrote:
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.


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.

Jul 19 '05 #3

P: n/a
> > 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.
I am unable to locate a C++ question here.


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
Jul 19 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.