Get process PID

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

Join Date: Aug 2007
Posts: 113
Reputation: scrypt3r is an unknown quantity at this point 
Solved Threads: 2
scrypt3r's Avatar
scrypt3r scrypt3r is offline Offline
Junior Poster

Get process PID

 
0
  #1
Feb 27th, 2009
I have a program that injects a MessageBox Dll into a running process, although the user has to input the process to injects PID, is there a way to get the process PID from its image?
Yes you can, in fact, haz cheezburgerz
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: Get process PID

 
0
  #2
Sep 14th, 2009
Originally Posted by scrypt3r View Post
I have a program that injects a MessageBox Dll into a running process, although the user has to input the process to injects PID, is there a way to get the process PID from its image?
Try this article on How to get the PID from process name
Reply With Quote Quick reply to this message  
Join Date: Apr 2008
Posts: 118
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: Get process PID

 
-3
  #3
Sep 14th, 2009
Originally Posted by opcode View Post
Try this article on blablabla
????????
This "article" is a complete newbie and wrong code (!)
To get the pid, see the official sample in C in MSDN, with Win32 THelp
Reply With Quote Quick reply to this message  
Join Date: Oct 2006
Posts: 2,834
Reputation: niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute niek_e has a reputation beyond repute 
Solved Threads: 297
Moderator
Featured Poster
niek_e's Avatar
niek_e niek_e is offline Offline
Roasting Maven

Re: Get process PID

 
0
  #4
Sep 14th, 2009
Originally Posted by marco93 View Post
... and wrong code ...
Why? For once, tell us why you think this code is wrong instead of leaving a piece of sh*t comment and then run and hide when you get a reply.
Last edited by niek_e; Sep 14th, 2009 at 11:25 am.
Reply With Quote Quick reply to this message  
Join Date: Mar 2008
Posts: 1,405
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: 114
Sponsor
William Hemsworth William Hemsworth is online now Online
Nearly a Posting Virtuoso

Re: Get process PID

 
0
  #5
Sep 14th, 2009
Why? For once, tell us why you think this code is wrong instead of leaving a piece of sh*t comment and then run and hide when you get a reply.
Just not worth it anymore. People have already complained about him by asking for a ban, but he isn't "breaking" any rules. People can judge that his posts are awful just by looking at his reputation, so I'll just try my best to ignore him from here on.
Last edited by William Hemsworth; Sep 14th, 2009 at 2:35 pm.
I need pageviews! most fun profile ever :)
Reply With Quote Quick reply to this message  
Reply

Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC