Quantcast
Channel: VBForums - Visual Basic .NET
Viewing all articles
Browse latest Browse all 27554

VS 2008 How to use this function ? (reading memory)

$
0
0
Hi !
I found a class to read/write memore from some processes.
I want to read money value from some game, and print it in Label1, but i have no idea how to use readalong function :(
readalong code:
Code:

Public Function readalong(ByVal FH8EG108108B9IF11 As String, ByVal E4I44FC8FFI3B5 As Long, ByVal G329G6DH3EA3 As Long)
  Dim IC1BCGC128G92 As Long
  Dim F6CCHB1E9EH9 As Long
  Dim CGFDF67AIA7G8 As Long
  IC1BCGC128G92 = FindWin(Nothing, FH8EG108108B9IF11)
  GetWindowThreadProcessID(IC1BCGC128G92, F6CCHB1E9EH9)
  CGFDF67AIA7G8 = OpenProcess(E1087E8287EH9, False, F6CCHB1E9EH9)
  ReadProcessMemory(CGFDF67AIA7G8, E4I44FC8FFI3B5, G329G6DH3EA3, 4, 0&)
  Return 0
    End Function

I know that i need to make it like Call readalong("GTA:SA", &HB7CE50, but what here?) 'B7CE50 is money address i found it in some wiki, and it works when i try to change the value(writealong), but i want to display money value in Label1

Viewing all articles
Browse latest Browse all 27554

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>