Solved

read memory

Posted on 2003-10-31
8
224 Views
Last Modified: 2010-04-05
how to read memory used by other program that run in window
0
Comment
Question by:Andi4883
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 17

Accepted Solution

by:
Wim ten Brink earned 50 total points
ID: 9656741
Not!

Windows protects the memory space of every application so you can't just access the memory space of another application just like that. Your application just gets 4 GB of memory all for itself. Most of it non-existant but still, all your application can see is it's own memory space.

Now, it is possible to access memory from another process but if I'm not mistaken then this requires the injection of a DLL into another process. A complicated technique that requires a good knowledge of the Windows API and a good experience in software development in general. You then have to communicate with this DLL in the other process in some way to tell that DLL to retrieve data from somewhere.
It could be possible that there's an easier technique than DLL injection but I haven't heard about it.
0
 
LVL 12

Assisted Solution

by:andrewjb
andrewjb earned 50 total points
ID: 9656809
Windows 95/98/ME aren't protected, though.
0
 
LVL 6

Assisted Solution

by:GloomyFriar
GloomyFriar earned 50 total points
ID: 9657038
ReadProcessMemory
WriteProcessMemory
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Assisted Solution

by:DeerBear
DeerBear earned 50 total points
ID: 9659666
Hi,

ReadProcessMemory and WriteProcessMemory are what you're
looking for. But BEWARE:

Doing it is OUTRAGEOUSLY dangerous.

When you're at it, no one can stop you.
That means that processes are at your mercy and if you
don't know *exacty* what you're doing... well...
I warmly discourage it.

HTH,

Andrew
0
 
LVL 5

Assisted Solution

by:Gwena
Gwena earned 50 total points
ID: 9661622
Madshi is the guy that can help you with this sort of thing...

Paging Madshi :-)
0
 
LVL 2

Expert Comment

by:TheLeader
ID: 9780248
listen
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.
Suggested Courses
Course of the Month10 days, 13 hours left to enroll

628 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