Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED]How can I permanent freeze some Values in the Memory
#4
Macro Macro2538
Code:
Copy      Help
int hWnd,r,w,Value,NewValue
int BufferSize = sizeof(Value)
byte* BaseAddress
BaseAddress+0x100579C

double X=0.1 ;;every 0.1 s

hWnd=win("Notepad")
if(!hWnd) ret
;if(hWnd!=win) ret ;;if window not active
__ProcessMemory o.Alloc(hWnd 0) ;;just get process handle; error if fails
rep
,;o.ReadOther(&Value BaseAddress BufferSize)
,;out Value
,NewValue=0
,o.WriteOther(BaseAddress &NewValue BufferSize)
,if(WaitForSingleObject(o.hprocess X*1000)!=WAIT_TIMEOUT) break ;;if process ended
,;if(hWnd!=win) break ;;if window deactivated


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)