julmae Posted May 29, 2006 Share Posted May 29, 2006 I have tried to make script that read few values from memory but only thing I seem to get is windows errors any and all help would be welcome. Heres what i have came up with $Value1 = DllCall('kernel32.dll', 'int', 'ReadProcessMemory', 'int', 0x54D37DC) $Value2 = DllCall('kernel32.dll', 'int', 'ReadProcessMemory', 'int', 0x54D37D8) and yep I have tried to search trough forums too but I just cant seem to get it work /: Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 29, 2006 Moderators Share Posted May 29, 2006 You're missing some paramters it looks like, and don't forget that it returns an array, for the parameters look here:http://msdn.microsoft.com/library/default....ocessmemory.asp Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. Link to comment Share on other sites More sharing options...
Nomad Posted May 29, 2006 Share Posted May 29, 2006 Have you looked at wOuter's memory functions?Here's the link:Memory FunctionsThese have worked great for me.Nomad Link to comment Share on other sites More sharing options...
julmae Posted May 29, 2006 Author Share Posted May 29, 2006 (edited) Yeh i tried that, but i always get this when i try to run it : : ==> Subscript used with non-Array variable.: $v_Ret = DllCall($ah_Mem[0], 'int', 'ReadProcessMemory', 'int', $ah_Mem[1], 'int', $i_Address, 'ptr', DllStructGetPtr($v_Struct), 'int', 1, 'int', '') $v_Ret = DllCall($ah_Mem^ ERROR I supposed that it was ment to use use like : _MemRead("kernel32.dll", 0x54D37DC) and declare $i_Size = x if i want to read memory of different size, but im prolly wrong again :Edit: nvm got it working Edited May 30, 2006 by julmae Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now