Solved

Accessing the memory of an external process.

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

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

When writing generic code, using template meta-programming techniques, it is sometimes useful to know if a type is convertible to another type. A good example of when this might be is if you are writing diagnostic instrumentation for code to generat…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

757 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