Originally Posted by
durban
I don't know what exactly you're trying to do but have you tried using ReadProcessMemory/WriteProcessMemory ? As far as I know, you don't need an privileges to use them and they work on all windows programs.
Can't WriteProcessMemory or ReadProcessMemory without the correct handle.
For example.
This grabs the ReadProcessMemory handle:
Code:
m_hProcess = ::OpenProcess(PROCESS_VM_READ, false, _PID)
This grabs the WriteProcessMemory handle:
Code:
m_hProcess = ::OpenProcess(PROCESS_VM_WRITE, false, _PID)
My access to the handle is denied with PROCESS_VM_WRITE. And I can't write anything without the handle.