Simple Memory Editing Tutorial in C++ Using WinAPI menu

User Tag List

Results 1 to 3 of 3
  1. #1
    krylonClear's Avatar Private
    Reputation
    1
    Join Date
    Dec 2010
    Posts
    6
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Simple Memory Editing Tutorial in C++ Using WinAPI

    I am trying to get this code to work out and test it, can someone tweak it a little bit to get it to work on something in WoW so that I can see visible results and
    know it is working?



    Code:
    #include <iostream>
    #include <windows.h>
    
    #define WPMAddr  0x98765   
    #define RPMAddr   0x12345 
    
    using namespace std; 
    
    
    int main()
    {
    DWORD pid;
    const short WPMValue = 0;
    short RPMValue = 0; 
    
    HWND hwnd = FindWindowA(NULL, "World of Warcraft"); 
    GetWindowThreadProcessId(hwnd, &pid);  
    HANDLE phandle = OpenProcess(PROCESS_VM_OPERATION | PROCESS_VM_WRITE | PROCESS_VM_READ, 0, pid); 
    
    WriteProcessMemory(phandle, (LPVOID)WPMAddr, &WPMValue, sizeof(WPMValue), 0); 
    ReadProcessMemory(phandle, (LPCVOID)RPMAddr,  &RPMValue, sizeof(RPMValue), 0); 
    
    return 0;
    }

    Simple Memory Editing Tutorial in C++ Using WinAPI
  2. #2
    wraithZX's Avatar Active Member
    Reputation
    43
    Join Date
    May 2007
    Posts
    122
    Thanks G/R
    0/1
    Trade Feedback
    1 (100%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Pretty sure someone can, yeah.

  3. #3
    maclone's Avatar / Authenticator enabled
    Reputation
    2420
    Join Date
    Nov 2007
    Posts
    8,726
    Thanks G/R
    0/1029
    Trade Feedback
    0 (0%)
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    We don't write your code.
    Zomfg. And no, don't ask. - Dombo did it.

Similar Threads

  1. Incredibly Simple model editing (DBC using itemcache)
    By Dave-evad in forum WoW ME Tools & Guides
    Replies: 1
    Last Post: 01-14-2021, 10:16 AM
  2. [Service] Simple model edit tutorial.
    By gr4vitas in forum World of Warcraft Model Editing
    Replies: 15
    Last Post: 09-21-2016, 03:25 AM
  3. [Service] - Simple Model Edit Tutorial - 4.1+ (very easy!!)
    By gr4vitas in forum World of Warcraft Model Editing
    Replies: 24
    Last Post: 01-12-2013, 10:43 AM
  4. Diablo III Memory Editing Tutorial?
    By Jackalhead in forum Diablo 3 Memory Editing
    Replies: 6
    Last Post: 05-19-2012, 08:44 AM
  5. [Tutorial] Memory editing C#
    By Lynie in forum Programming
    Replies: 1
    Last Post: 05-14-2010, 03:15 AM
All times are GMT -5. The time now is 03:05 PM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search