Problem with ReadProcessMemory : access denied menu

User Tag List

Results 1 to 3 of 3
  1. #1
    Fayat's Avatar Member
    Reputation
    1
    Join Date
    Mar 2007
    Posts
    43
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem with ReadProcessMemory : access denied

    Hi!
    I've got a problem with my tool which read some memory values in warhammer online.

    It use ReadProcessMemory to read hp/pos/etc...

    My code work on wow, RF Online and many other games.

    Since I installed SP3, so maybe this is the problem.

    MHS5 can read the addresses, not my tool.

    My pseudocode:

    1.EnableTokenPrivilege (SE_DEBUG_NAME) //grant privilege to read/write in an other processus

    2.OpenProcess(PROCESS_VM_OPERATION, FALSE, Pid); //I open the processus

    3.ReadProcessMemory(Hdl, (LPCVOID)posa.Xa, (LPVOID)pos.X, 4, NULL) //I try to read the processus at 0x00ED8AE4 (Basepointer 0x00ED8AC0)

    And i get: "[-]ReadProcessMemory failed with error 5: Access denied."

    I tried to launch it with administrator rights, still the same error code i'm going crazy :'(

    What's wrong?

    Thanks for your help

    Problem with ReadProcessMemory : access denied
  2. #2
    Viitapiru's Avatar Member
    Reputation
    2
    Join Date
    Jan 2007
    Posts
    18
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try using PROCESS_ALL_ACCESS as first parameter to OpenProcess();

  3. #3
    Fayat's Avatar Member
    Reputation
    1
    Join Date
    Mar 2007
    Posts
    43
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    No it was not the problem, kaspersky hooked OpenProcess so it was impossible to get an handle...fixed now..I can teleport in Warhammer Online

Similar Threads

  1. VirtualQueryEx failing with access denied
    By Savail in forum Programming
    Replies: 5
    Last Post: 09-21-2013, 03:09 AM
  2. Problem with Paypal "Limited Account Access"
    By Schwummelwummel in forum WoW Scams Help
    Replies: 17
    Last Post: 05-26-2009, 04:28 PM
  3. Problem with CE.
    By Eldretch in forum World of Warcraft General
    Replies: 1
    Last Post: 08-08-2006, 06:49 PM
  4. I have problem with BHW 3.0
    By sunrize1 in forum World of Warcraft General
    Replies: 1
    Last Post: 07-17-2006, 08:49 AM
All times are GMT -5. The time now is 08:06 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search