Results 1 to 3 of 3
  1. #1
    'Quarentine's Avatar
    Join Date
    Apr 2012
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0

    Question WriteProcessMemory For XP

    Code:
    Private Declare Function CloseHandle Lib "Kernel32" (ByVal ObjeH As Integer) As Integer
    Private Declare Function OpenProcess Lib "Kernel32" (ByVal Erişim As Integer, ByVal DeğerPointer As Integer, ByVal IşlemNO As Integer) As Integer
    Private Declare Function WriteProcessMemory Lib "Kernel32" (ByVal IşlemH As Integer, ByVal Ana As Integer, ByRef AnaBuffer As Integer, ByVal nSize As Integer, ByRef DeğerHack As Integer) As Integer
    
    
    Dim Wolfteam As Process() = Process.GetProcessesByName("Wolfteam.bin")
    Dim IşlemPointer As IntPtr = OpenProcess(&H1F0FFF, 0, Wolfteam(0).Id)
    WriteProcessMemory(IşlemPointer, &H344EE1C8, 9, 4, Nothing)
    CloseHandle(IşlemPointer)
    This Code Working On 64 Bit , But Not Working On 32 Bit

    Why ? I Want Change Pointer Value On 32 Bit

    Help ME !

  2. #2
    papadoo's Avatar
    Join Date
    Aug 2011
    Gender
    female
    Location
    California
    Posts
    28
    Reputation
    10
    Thanks
    19
    My Mood
    Stressed

    Maybe...

    Im not sure but I *think* you need to replace Lib "Kernal132" with
    Lib "user32"

    Im not sure but I think it might work.

    Also try:
    (ByVal ObjeH As Int32) As Int16
    Instead of
    (ByVal ObjeH As Integer) As Integer


    If this doesnt work replace all "integer"'s with int32 or int16 depending on the context.

    So.. yeah tell me if it works out ^.^
    Last edited by papadoo; 11-13-2012 at 09:48 PM.






    __________________

    Computer Specs
    ___________________

    CPU:
    Intel Core i7-980X Extreme Edition
    Thermaltake Water 2.0 Extreme

    RAM:
    G.Skill F3-17000CL11Q2-64GBZLD

    Motherboard:
    Intel D525MW

    Hard Drive:
    OCZ RM88

    Video Card:
    PNY VCQ6000-PB

    Sound Card:
    Creative Labs Sound Blaster X-Fi Xtreme Audio

    OS:
    Microsoft Windows 8 Professional (OEM) (64-bit)
    _______________________

  3. #3
    LilGho$t's Avatar
    Join Date
    Nov 2011
    Gender
    male
    Posts
    419
    Reputation
    9
    Thanks
    330
    My Mood
    Twisted
    Quote Originally Posted by papadoo View Post
    Im not sure but I *think* you need to replace Lib "Kernal132" with
    Lib "user32"

    Im not sure but I think it might work.

    Also try:
    (ByVal ObjeH As Int32) As Int16
    Instead of
    (ByVal ObjeH As Integer) As Integer


    If this doesnt work replace all "integer"'s with int32 or int16 depending on the context.

    So.. yeah tell me if it works out ^.^
    There's not really a difference between integer and int32. Also, int16 is just a shorter form of int32 which means that it can't hold as much as int32 can. He's be best to use int64 (assuming the few extra bytes of memory aren't an issue).

Similar Threads

  1. Hacks for mmorpg?
    By suppaman in forum General Game Hacking
    Replies: 6
    Last Post: 10-17-2010, 11:04 AM
  2. cheat for gunz
    By suppaman in forum Gunz General
    Replies: 27
    Last Post: 02-07-2006, 07:34 PM
  3. Connection About for Annomalation in Game
    By asdasd in forum WarRock - International Hacks
    Replies: 7
    Last Post: 12-30-2005, 08:17 PM
  4. Looking for hacks
    By Worcha in forum General Game Hacking
    Replies: 0
    Last Post: 12-29-2005, 03:21 PM
  5. Too Ownage For Words.
    By Flawless in forum Art & Graphic Design
    Replies: 8
    Last Post: 12-28-2005, 04:55 PM