Solved

Accessing the memory of an external process.

Posted on 2000-04-21
3
187 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Article by: SunnyDark
This article's goal is to present you with an easy to use XML wrapper for C++ and also present some interesting techniques that you might use with MS C++. The reason I built this class is to ease the pain of using XML files with C++, since there is…
  Included as part of the C++ Standard Template Library (STL) is a collection of generic containers. Each of these containers serves a different purpose and has different pros and cons. It is often difficult to decide which container to use and …
The viewer will learn how to user default arguments when defining functions. This method of defining functions will be contrasted with the non-default-argument of defining functions.
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.

821 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