Hello, Im having some trouble with read/write process Memory and Im hoping someone here could help me out a little.
Code:
now there must be something wrong with my code because it is supposed to read the memory address 90720324 (&H56BE7C) *tried both but both didnt succeed..*
So if anyone could provide me some help or a working sample in VB.Net it would be very appreciated :)
P.S dont look at my sloppy coding and if need further info just ask, the class just contains the declarations and such
Code:
Code:
Dim iMoneyAddress As Integer
iMoneyAddress = 90720324
Dim Reader As New MemReader.ProcessMemoryReader()
Dim MyProcs As System.Diagnostics.Process() = System.Diagnostics.Process.GetProcessesByName("Conquer")
If MyProcs.Length = 0 Then
MessageBox.Show("No Conquer Client found!")
Return
End If
Reader.ReadProcess = MyProcs(0)
Reader.OpenProcess()
Dim bytesRead As Integer
Dim Memory As Byte()
Dim iMoney As Integer
Memory = Reader.ReadProcessMemory(iMoneyAddress, 1, bytesRead)
iMoney = Memory(0)
txtMoney.Text = iMoney.ToString()
So if anyone could provide me some help or a working sample in VB.Net it would be very appreciated :)
P.S dont look at my sloppy coding and if need further info just ask, the class just contains the declarations and such