Solved

Accessing the memory of an external process.

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

  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 …
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
The viewer will learn additional member functions of the vector class. Specifically, the capacity and swap member functions will be introduced.

911 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now