943,608 Members | Top Members by Rank

Ad:
  • C++ Discussion Thread
  • Unsolved
  • Views: 3243
  • C++ RSS
Feb 27th, 2009
0

Get process PID

Expand 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?
Similar Threads
Reputation Points: 6
Solved Threads: 2
Junior Poster
scrypt3r is offline Offline
114 posts
since Aug 2007
Sep 14th, 2009
0

Re: Get process PID

Click to Expand / Collapse  Quote originally posted by scrypt3r ...
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
Reputation Points: 25
Solved Threads: 3
Newbie Poster
opcode is offline Offline
7 posts
since Sep 2009
Sep 14th, 2009
-3

Re: Get process PID

Click to Expand / Collapse  Quote originally posted by opcode ...
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
Reputation Points: -76
Solved Threads: 14
Junior Poster
marco93 is offline Offline
132 posts
since Apr 2008
Sep 14th, 2009
0

Re: Get process PID

Click to Expand / Collapse  Quote originally posted by marco93 ...
... 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 Nick Evan; Sep 14th, 2009 at 11:25 am.
Moderator
Featured Poster
Reputation Points: 4142
Solved Threads: 394
Industrious Poster
Nick Evan is offline Offline
4,132 posts
since Oct 2006
Sep 14th, 2009
0

Re: Get process PID

Quote ...
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.
Reputation Points: 1429
Solved Threads: 129
Posting Virtuoso
William Hemsworth is offline Offline
1,542 posts
since Mar 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in C++ Forum Timeline: help for templates!!!!
Next Thread in C++ Forum Timeline: Using Trackbar - Progressbar Help Please.





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC