Jump to content

Memory Funcions, Help?


AzKay
 Share

Recommended Posts

Ok, Im stuck here, It wants an array of offsets, But I dont understand.

#include <Memory.au3>
$PID = WinGetProcess("Free Solitaire")
$Handle = _MemoryOpen($PID)
Dim $Offset[4]
$Offset[0] = 0
$Offset[1] = 0
$Offset[2] = 0
$Offset[3] = 0
$Value = _MemoryPointerWrite(0x0052BD10, $Handle, $Offset, 1000, "dword")
If @Error Then MsgBox(0, "", "$Value " & @Error)
MsgBox(0, "", $Value)
_MemoryClose($Handle)

Heres what im trying to access:

Posted Image

Any ideas? Ive tryed just putting the 307 for the offset, but it says it needs to be in an array, so I try to make the first on a 307, but no luck. Im using these mem functions:

http://www.autoitscript.com/forum/index.ph...c=28351&hl=

Any ideas?

# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Link to comment
Share on other sites

You might want to try the memory functions in Auto3Lib. They work with memory blocks and you can overlay a DllStruct on top of the memory and do anything you want. You're probably not going to get any help from the author of the memory library you're using because he's... uh... "gone".

Auto3Lib: A library of over 1200 functions for AutoIt
Link to comment
Share on other sites

You might want to try the memory functions in Auto3Lib. They work with memory blocks and you can overlay a DllStruct on top of the memory and do anything you want. You're probably not going to get any help from the author of the memory library you're using because he's... uh... "gone".

Yeah, I noticed that, But I was hoping w0uter might have some ideas.
# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Link to comment
Share on other sites

Might try a PM. Otherwise, you're SOL unless you're willing to try another package that's supported here.

I try to steer away from pm'ing people, I dont like being a neucense. ( I know I spelt that wrong, Lol )
# MY LOVE FOR YOU... IS LIKE A TRUCK- #
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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