Solved

Reading other process memory

Posted on 2011-09-18
2
348 Views
Last Modified: 2012-05-12
Hi!
Is there a way to access another process memory as if it was my process memory?
(Other than ReadProcessMemory)
0
Comment
Question by:UltraDog
2 Comments
 
LVL 1

Author Comment

by:UltraDog
ID: 36557180
I mean: Access that process memory as fast as accessing my memory :)
0
 
LVL 45

Accepted Solution

by:
Kdo earned 250 total points
ID: 36557226
Hi UD,

Nope.  The hardware protect the memory of one task from poking and prodding by other tasks.

Now if an application is multi-threaded, certainly all of the threads will share all of the tasks memory.  But separate memory is more or less the definition of a separate task.

You can set up shared memory between the tasks and create objects in the shared region.  That will protect the tasks from each other while allowing them to share data as common memory.

Good Luck,
Kent
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
how to define a string array with big size in c language 10 129
Binary Bomb: Phase 4 func4 3 310
Read file descriptor 3 in C 14 104
chcp 65001 File encoding 66 230
Windows programmers of the C/C++ variety, how many of you realise that since Window 9x Microsoft has been lying to you about what constitutes Unicode (http://en.wikipedia.org/wiki/Unicode)? They will have you believe that Unicode requires you to use…
This is a short and sweet, but (hopefully) to the point article. There seems to be some fundamental misunderstanding about the function prototype for the "main" function in C and C++, more specifically what type this function should return. I see so…
Video by: Grant
The goal of this video is to provide viewers with basic examples to understand and use for-loops in the C programming language.
The goal of this video is to provide viewers with basic examples to understand and use switch statements in the C programming language.

930 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

18 Experts available now in Live!

Get 1:1 Help Now