Solved

read memory

Posted on 2003-10-31
8
220 Views
Last Modified: 2010-04-05
how to read memory used by other program that run in window
0
Comment
Question by:Andi4883
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
Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

Suggested Solutions

Title # Comments Views Activity
add combobox item based on numbers 9 154
Delphi selector screen 2 84
TServerSocket - file via sendbuf or Text via sendtext ? 1 65
update joined tables 2 55
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…
Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

840 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