Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how can I use readprocessmemory?
#2
If you want to write 2 bytes to scp, pass its address, not itself. Replace +scp to &scp.

QM also has class __ProcessMemory that can be used for it.
Macro Macro1374
Code:
Copy      Help
int pid = ProcessNameToId("notepad" 0 1)
__ProcessMemory m.Alloc(pid 0 1) ;;just opens process, does not allocate
int scp
m.ReadOther(+0x0100A5f1, &scp, 2)
err end _error
out scp


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)