|
-
Nov 1st, 2001, 12:41 AM
#1
Thread Starter
Lively Member
base address for writeprocessmemory
I got the address i want to read/write from.... using a memory scanner... the address i found was "01B3754D", and im using the writeprocessmemory and readprocessmemory functions, but vb wont accept "01B3754D" for the base address, so how and what do i convert "01B3754D" to, so that I can use it as my base address...
Last edited by AlbafaN; Nov 1st, 2001 at 12:56 AM.
-
Nov 1st, 2001, 09:42 AM
#2
If you need a long use
addr = &H01B3754D
- this puts hex into a long variable - no quotes
-
Nov 1st, 2001, 01:02 PM
#3
Thread Starter
Lively Member
so all i have to do is slap a &H in front of it?
-
Nov 1st, 2001, 01:10 PM
#4
Yes. Most languages have a way of getting hex constants into a number datatype. The VB compiler sees the &H and then translates it for you.
Const whatever = &HFF ' makes 255
or
j = &H213EF
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|