Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 10:50

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



C++ Memory Reading

Discussion on C++ Memory Reading within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2008
Posts: 65
Received Thanks: 181
Wink C++ Memory Reading

huhu

ich wollte jetzt von Autoit auf C++ umsteigen ...

nun weis ich nur leider nicht wie die befehle fürs process id und memory aulesen usw bei c++ sind

hat da jmd ne kleine übersicht oder sowas .. wäre toll x)


mfg karl
k@lle is offline  
Old 12/31/2009, 08:45   #2
 
Emoemo's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 194
Received Thanks: 46
Quote:
Originally Posted by k@lle View Post
huhu

ich wollte jetzt von Autoit auf C++ umsteigen ...

nun weis ich nur leider nicht wie die befehle fürs process id und memory aulesen usw bei c++ sind

hat da jmd ne kleine übersicht oder sowas .. wäre toll x)


mfg karl
Da es bei Dir ja wahrscheinlich in Richtung WoW geht:

wned.com/forums/wow-memory-editing/117517-c-problem-reading-memory.html

Ansonsten dort mal nach Memory Reading suchen.
Emoemo is offline  
Thanks
1 User
Old 12/31/2009, 13:10   #3


 
MrSm!th's Avatar
 
elite*gold: 7110
Join Date: Jun 2009
Posts: 28,902
Received Thanks: 25,407
OpenProcess
ReadProcessMemory
WriteProcessMemory


MSDN verrät mehr
MrSm!th is offline  
Thanks
1 User
Old 12/31/2009, 15:52   #4
 
elite*gold: 0
Join Date: Apr 2006
Posts: 6,597
Received Thanks: 1,830
process ID kleines codebeispiel, brauchst dazu nur das window handle

Code:
DWORD process_ID;
DWORD thread_ID = GetWindowThreadProcessId(hwnd, &process_ID);
HANDLE hProcess = OpenProcess(PROCESS_VM_READ|PROCESS_VM_WRITE, FALSE, process_ID);

readprocessmemory beispiel ( der pointer ist hier 0x6FBCB908)

Code:
ReadProcessMemory (hProcess,(void*)0x6FBCB908, &dwPtr, sizeof(dwPtr), NULL);
Medix is offline  
Thanks
1 User
Old 01/02/2010, 18:42   #5
 
elite*gold: 0
Join Date: May 2008
Posts: 65
Received Thanks: 181
vielen dank an euch

ich hab von der blackmagic lib geehört .. allerdings scheint die für C# zu sein

hab sogar was gefunden mal schauen ob ich da was hinbekomme :O
k@lle is offline  
Reply


Similar Threads Similar Threads
VB 08 Memory Reading
07/06/2010 - .NET Languages - 2 Replies
Hallo, Ich wollte in einem Spiel die HP auslesen lasse, dabei bin ich aber auf ein Problem gestoßen. Das Problem ist, das die Pointer Adresse so aussieht : "Hero.exe+".. http://www.imagebanana.com/img/o0org9ha/Problem.p ng Kann mir vllt. jmd sagen, wei ich das hinbekomme ?
Memory reading etc.
06/18/2008 - General Coding - 11 Replies
-
Memory reading help...
02/10/2007 - Conquer Online 2 - 1 Replies
Hi, I need to read the amount of arrows on an archer (0-500). I have the pointer and offset, and i can get the right number in cheat engine, however whenever i try to read it from autohotkey i always get 0. Don't know why. I've always read 4 byte data before so i don't really know if i have the right code for 2 byte data. Here's the autohotkey code ExtInt(ByRef pSource, pOffset = 0, pIsSigned = false, pSize = 4); From AutoHotKey Help { Loop %pSize% result += *(&pSource +...
Help with Reading Memory
01/28/2007 - Conquer Online 2 - 1 Replies
Hello, I've been programming my own Program, but im now busy with the hardest stuff, and i'm writing in VB.NET 2005 who can help me with a simple Example to read a memory adress and this convert to an TEXT label? the basic is:
VB.Net Memory Reading
11/03/2006 - .NET Languages - 0 Replies
Basically I'm doing a course in VB.Net and I'm wondering if theres anyone here who can teach me or show me how to read memory values in my project. My course does not cover this, so I'm stuck with either self-research or asking questions. If anyone can help then I'd be very grateful. PS: The target game I'll be testing on is Conquer Online 2



All times are GMT +1. The time now is 10:50.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.