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: Jun 2009
Posts: 39
Received Thanks: 0
ReadProcessMemory Problem

I can't listing Proc. Only one

uses TlHelp32

var
hProcess,HandleWindow: THandle;
Struct: TProcessEntry32;
ProcessID,temp:cardinal;
bufchar;
begin
HandleWindow :=FindWindow(nil,'Metin2');
GetWindowThreadProcessId(HandleWindow,@ProcessID);
hProcess := OpenProcess(PROCESS_ALL_ACCESS,FALSE,ProcessID);
getmem(buf,4);
readprocessmemory(hProcess,ptr($00830022),buf,4,te mp);
Memo1.Lines.Add(inttostr(integer(buf)));
freemem(buf);
if hProcess <> 0 then
CloseHandle(hProcess);
hasnon is offline  
Old 07/24/2009, 14:05   #2
 
neofox's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 88
Received Thanks: 2
HI what is this for a programming language? looks like a combination of Delphi and C++
neofox is offline  
Old 07/24/2009, 19:55   #3
 
elite*gold: 0
Join Date: Jun 2009
Posts: 39
Received Thanks: 0
Delphi

My want example


hasnon is offline  
Old 07/26/2009, 00:19   #4
 
elite*gold: 0
Join Date: Jun 2009
Posts: 39
Received Thanks: 0
this code with succeed
preceding mistake
Code:
 GetWindowThreadProcessId(FindWindow('Metin2',0),@ProcessID);
Code:
var
   ProcessID, temp: cardinal;
   Address: integer;
begin
  GetWindowThreadProcessId(FindWindow(nil,'Metin2'),@ProcessID);
  Toolhelp32ReadProcessMemory(ProcessID,pointer($010EBE4D),Address,SizeOf(Address),temp);
  Memo1.Lines.Add(inttostr(Address));
end;
hasnon 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
06/10/2009 - General Coding - 4 Replies
hi, jedes mal wenn ich ReadProcessMemory verwende kommt die zahl 1 raus. Was mache ich denn falsch. int ReadMemory(int address) { int r; FindWindow(); r = ReadProcessMemory(Process, (int*)address, &value, sizeof(value), NULL); CloseHandle( Process );



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.