Quote:
Originally Posted by LiveHood
Hi sir i already test this code and still not lucky returning value to 0 but first i want to thank you for replyingand helping me i didnt expect there would be some one else here still active thanks a lot sir and ill send the screen shot of address sir that i want to read on CE i know how to use Memory on Autoit using Pointer but without pointer i dont know how 
|
Sorry didn't read all the code
Code:
#RequireAdmin
TEST()
Func TEST()
Sleep(1000)
Local $base = 0x004589B7
Local $hopen
$hopen = _MemoryOpen(ProcessExists"Calc.exe"))
$result = _MemoryRead($base , $hopen,'dword')
MsgBox(0,""," = " & $result)
EndFunc
You just need to read the value once, is not Pointer read.
But if you have in CE static address like
ProcessName.exe + offset
Then use
Code:
;Ex Explorer. exe+123A
$offset = 0x123A
$hopen = _MemoryOpen(processexists("explorer.exe"))
$processBaseAddress = _MemoryGetBaseAddress($hopen)
$value = _MemoryRead($processBaseAddress + $offset, $hopen, 'dword')
msgbox(0, "", $value)
; Note this offset isn't even valid so return value can be 0