Advanced Memory Editing/Function Calling
        Posted  
        
            by 
                Saustin
            
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Saustin
        
        
        
        Published on 2010-12-26T21:47:08Z
        Indexed on 
            2010/12/26
            21:54 UTC
        
        
        Read the original article
        Hit count: 168
        
Hi,
I've gotten extremely interested into coding trainers (Program that modifies value of a different process) for video games. I've done the simple 'god-mode' and 'unlimited money' things, but I want to do alot more than that. (Simple editing using WriteProcessMemory)
There are memory addresses of functions on the internet of the video game I'm working on, and one of functions is like "CreateCar" and I'm wanting to call that function from an external program.
My question: How can I call a function from an external process in C/C++, provided the function address, using a process handle or other method.
PS: If anyone could link me to tools (I've got debuggers, no need for more..) that help with this sort of thing, that'd be nice.
© Stack Overflow or respective owner