Jump to content

Memory reading


Recommended Posts

i am trying to access a value in a memory location

i used some software to locate the memory address that holds the value i need

i used some code from this forum i found to access the memory location and display the value

each time the program finds no value, yet i can see the value using the other program

Can anyone help me pls, im new to the whole memory location thing, sorry.

#include 'nomadmemory.au3'
$i_Address = 01C490A4
$i_pid = ProcessExists('process.exe')
$v_Open = _MemoryOpen($i_pid)
While 1
    $MemRead_results = _MemoryRead($i_Address, $v_Open)
    If $MemRead_results = '' Then
        MsgBox(4096,'Error','No good. Result = '& $MemRead_Results)
        _MemoryClose($v_Open)
        Exit
    Else
        ToolTip($MemRead_results)
        Sleep(5000)
    EndIf
WEnd
_MemClose($v_Open)
Exit
Edited by RooTMasteR
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...