Solved

read memory

Posted on 2003-10-31
8
221 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

Independent Software Vendors: 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

Suggested Solutions

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

756 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