How to get PID from process name

Please support our C++ advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2009
Posts: 5
Reputation: lahiruchandima is an unknown quantity at this point 
Solved Threads: 0
lahiruchandima lahiruchandima is offline Offline
Newbie Poster

How to get PID from process name

 
0
  #1
Sep 9th, 2009
Can someone tell me a way to get the PID (Process ID) of a process from its name?

thanks..
Reply With Quote Quick reply to this message  
Join Date: Sep 2009
Posts: 7
Reputation: opcode is an unknown quantity at this point 
Solved Threads: 3
opcode opcode is offline Offline
Newbie Poster

Re: How to get PID from process name

 
1
  #2
Sep 9th, 2009
Last edited by opcode; Sep 9th, 2009 at 2:58 am.
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 120
Reputation: marco93 is infamous around these parts marco93 is infamous around these parts marco93 is infamous around these parts 
Solved Threads: 12
marco93 marco93 is offline Offline
Junior Poster

Re: How to get PID from process name

 
-3
  #3
Sep 9th, 2009
Originally Posted by opcode View Post
Found this link on FrostCode
Stop this spamming with fake question/answer and complete noob and wrong code (original code from MSDN has been posted 15 years ago !)
Read the Petzold to learn Windows programming.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 1,491
Reputation: William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of William Hemsworth has much to be proud of 
Solved Threads: 123
Sponsor
William Hemsworth William Hemsworth is offline Offline
Nearly a Posting Virtuoso

Re: How to get PID from process name

 
1
  #4
Sep 9th, 2009
Stop this spamming with fake question/answer and complete noob and wrong code (original code from MSDN has been posted 15 years ago !)
Read the Petzold to learn Windows programming.
Oh, shut up.
He provided a good link, you didn't.
I need pageviews! most fun profile ever :)
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 5
Reputation: lahiruchandima is an unknown quantity at this point 
Solved Threads: 0
lahiruchandima lahiruchandima is offline Offline
Newbie Poster

Re: How to get PID from process name

 
0
  #5
Sep 11th, 2009
thanks. your link solved the problem
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:




Views: 1035 | Replies: 4
Thread Tools Search this Thread



Tag cloud for C++
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC