Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 21:12

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

Advertisement



ReadProcessMemory problem

Discussion on ReadProcessMemory problem within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2007
Posts: 156
Received Thanks: 22
ReadProcessMemory problem

hi,
jedes mal wenn ich ReadProcessMemory verwende kommt die zahl 1 raus. Was mache ich denn falsch.

PHP Code:
int ReadMemory(int address)
{
    
int r;
    
FindWindow();
   
ReadProcessMemory(Process, (int*)address, &valuesizeof(value), NULL);
    
CloseHandleProcess );
    return 
r;


WriteMemory((void*)0x123456,50);
        
int mc ReadMemory(0x123456);
        
cout<< "mc = "<<mc
Write Memory funktioniert
Es muss int zahl sein
EDIT: sry meinte 1
NixIs is offline  
Old 06/09/2009, 19:39   #2
 
Atheuz's Avatar
 
elite*gold: 81
Join Date: Jul 2005
Posts: 1,921
Received Thanks: 2,239
Quote:
Originally Posted by NixIs View Post
hi,
jedes mal wenn ich ReadProcessMemory verwende kommt die zahl 1 raus. Was mache ich denn falsch.

PHP Code:
int ReadMemory(int address)
{
    
int r;
    
FindWindow();
   
ReadProcessMemory(Process, (int*)address, &valuesizeof(value), NULL);
    
CloseHandleProcess );
    return 
r;


WriteMemory((void*)0x17C6A270,50);
        
int mc ReadMemory(0x17C6A270);
        
cout<< "mc = "<<mc
Write Memory funktioniert
Es muss int zahl sein
EDIT: sry meinte 1


Quote:
r = ReadProcessMemory
return r;
durr hurr
Atheuz is offline  
Old 06/09/2009, 20:35   #3
 
elite*gold: 0
Join Date: Apr 2007
Posts: 156
Received Thanks: 22
Danke!! hab es raus.
Nur msdn (Überhaupt MS seiten) geht bei mir net habs nur aufem pc und da ist es schwer per englisch die fachbegriffe zu verstehen :S
NixIs is offline  
Old 06/10/2009, 13:44   #4
 
elite*gold: 0
Join Date: May 2008
Posts: 489
Received Thanks: 210
noenglish + coding = fail big time
schlurmann is offline  
Old 06/10/2009, 18:10   #5
 
scbiz's Avatar
 
elite*gold: 196
Join Date: Nov 2005
Posts: 625
Received Thanks: 192
Quote:
Originally Posted by NixIs View Post
Danke!! hab es raus.
Nur msdn (Überhaupt MS seiten) geht bei mir net habs nur aufem pc und da ist es schwer per englisch die fachbegriffe zu verstehen :S
Fachbegriffe wie "handle", "pointer" und ... "number"?
scbiz is offline  
Reply


Similar Threads Similar Threads
ReadProcessMemory From Lineage II
03/03/2011 - Lin2 Exploits, Hacks, Bots, Tools & Macros - 8 Replies
Hello, This is my second thread, and I hope someone can have some benefit from it. Why do this? well maybe make an status bar to display health,mana, etc or maybe you want to write data to the process, But in this article I show how to read. First of all you need to inculde some files: #include <Tlhelp32.h> to have access to:
ReadProcessMemory, C++ Problem
08/09/2010 - C/C++ - 12 Replies
Hi, ich mach mich gerade ans Memory editing in C++ aber habe nen Problem mit ReadProcessMemory. Hier mal mein Code: #include <iostream> #include <limits> #include <windows.h> using namespace std; int main()
ReadProcessMemory Problem
07/26/2009 - General Coding - 3 Replies
I can't listing Proc. Only one uses TlHelp32 var hProcess,HandleWindow: THandle; Struct: TProcessEntry32; ProcessID,temp:cardinal; buf:pchar; begin



All times are GMT +1. The time now is 21:13.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.