To get memory from another process.

Net netorib94 at gmail.com
Wed Apr 8 16:25:01 UTC 2020


On Tuesday, 7 April 2020 at 21:20:28 UTC, Quantium wrote:
> Could you advise me how to do these steps on D? Which libs 
> should I import?
> 1. My programm gets a path to exe file
> 2. My programm starts that exe file and writes into it 2 
> commands
> 3. Programm gets access to exe file memory
> 4. Programm gets data from process memory and writes it into 
> data.bin file which is in the same directory.
> As I said, which libs do I need and how to get access to other 
> process memory.
> Also, can I make this as a driver, but if yes, how to code 
> driver on D?

As far I know, you can't access other's program memory in any 
modern operating system.  That's managed and protected by the OS 
through virtual addressing.

What are you trying to do?


More information about the Digitalmars-d-learn mailing list