Solved

Accessing the memory of an external process.

Posted on 2000-04-21
3
186 Views
Last Modified: 2010-04-10
Under Win98(or NT with no security).
How can I read/write the memory of an external process?
(I know no more than the process ID)
0
Comment
Question by:Yo081699
  • 2
3 Comments
 
LVL 86

Accepted Solution

by:
jkr earned 100 total points
ID: 2737894
You can do that by using 'ReadProcessMemory()' - the process handle that is needed for this operation can be obtained by calling 'OpenProcess()' which takes the process ID as a parameter.
0
 
LVL 86

Expert Comment

by:jkr
ID: 2737914
0
 

Author Comment

by:Yo081699
ID: 2738042
Ok. Thanks.
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question