Results 1 to 4 of 4

Thread: base address for writeprocessmemory

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2001
    Posts
    109

    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.

  2. #2
    jim mcnamara
    Guest
    If you need a long use

    addr = &H01B3754D

    - this puts hex into a long variable - no quotes

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2001
    Posts
    109
    so all i have to do is slap a &H in front of it?

  4. #4
    jim mcnamara
    Guest
    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
  •  



Click Here to Expand Forum to Full Width