C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

status of a process

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
harish
Guest





PostPosted: Thu Jan 29, 2004 3:08 pm    Post subject: status of a process Reply with 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
Back to top
Thomas Matthews
Guest





PostPosted: Thu Jan 29, 2004 5:16 pm    Post subject: Re: status of a process Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.