Help with Reading Memory

01/28/2007 18:26 ZeRo-ToLeRaNcE#1
Hello,

I've been programming my own Program,
but im now busy with the hardest stuff,
and i'm writing in VB.NET 2005

who can help me with a simple Example to read a memory adress
and this convert to an TEXT label?

the basic is:

Code:
Declare Function ReadProcessMemory Lib "kernel32" (ByVal hProcess As Integer, ByRef lpBaseAddress As Object, ByRef lpBuffer As Object, ByVal nSize As Integer, ByRef lpNumberOfBytesWritten As Integer) As Integer
but i dont understand how i can make it work.

an adress i want to read is for example: &H5120CC

and i want this to put in an TEXT label named: label1

who has an example or can help me?

Greets,

DyNy 28
01/28/2007 23:05 KatsuAkimoto#2
I do not use VB, but I can help you with the conversion part:P

Dim <variablename> As Char = CChar(<memoryaddress_variablename>.Text)
This means you need to make a textbox that contains the memory address, but you can make it invisible.