how can I read a value at a specific address?
-
I need to read the value that is present at a specific address. any Ideas? thx in advance
BiG RaLpH
You can't just read any old address in the machine. Windows memory and process protections won't let you. When an application runs, it thinks it's the only application in the entire system. Each process get's it's own 2GB address space, so theres lots of room to play, even if the machine doesn't actually have 2GB of RAM in it. If each process has its own address space, each process can be sitting in the same range of addresses. So how are you going to get one process to read another processes address space?? You have to Open the other process and read it, kind of like a file. But, not any user can open another process. You have to have admin rights to do this. For a C# example (can be converted to VB.NET), check out this article[^].
A guide to posting questions on CodeProject[^]
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
I need to read the value that is present at a specific address. any Ideas? thx in advance
BiG RaLpH