 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
harish Guest
|
Posted: Thu Jan 29, 2004 3:08 pm Post subject: status of a process |
|
|
how to know that a process has terminated or not running.
I can use GetExitCodeProcess function for this.
But my doubt is:
I need to pass the process handle to this function.
And when a process is terminated, the same handle id can be associated
with some other process(that is the handle may not be unique).
Is my doubt correct or how is it.
please help
thanks in advance
harish
|
|
| Back to top |
|
 |
Thomas Matthews Guest
|
Posted: Thu Jan 29, 2004 5:16 pm Post subject: Re: status of a process |
|
|
harish wrote:
| Quote: | how to know that a process has terminated or not running.
I can use GetExitCodeProcess function for this.
But my doubt is:
I need to pass the process handle to this function.
And when a process is terminated, the same handle id can be associated
with some other process(that is the handle may not be unique).
Is my doubt correct or how is it.
please help
thanks in advance
harish
|
Processes are an operating system issue and outside
the domain of the C++ language and off-topic to this
newsgroup. You will need to ask in a newsgroup
related to your platform or operating system. See
the welcome.txt and FAQ links in my signature.
BTW, not all platforms have processes or are multi-
tasking. I can't refer you to the appropriate OS
group since you didn't specify it.
--
Thomas Matthews
C++ newsgroup welcome message:
http://www.slack.net/~shiva/welcome.txt
C++ Faq: http://www.parashift.com/c++-faq-lite
C Faq: http://www.eskimo.com/~scs/c-faq/top.html
alt.comp.lang.learn.c-c++ faq:
http://www.raos.demon.uk/acllc-c++/faq.html
Other sites:
http://www.josuttis.com -- C++ STL Library book
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|