Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


ReadProcessMemory [delphi]

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
onlyus
Newbie cheater
Reputation: 0

Joined: 27 Aug 2011
Posts: 19
Location: 214214

PostPosted: Sun Jan 08, 2012 10:37 am    Post subject: ReadProcessMemory [delphi] Reply with quote

hello everyone my question.. ↓


var
dwPID : DWORD;
dwhProc : THANDLE;
begin
GetWindowThreadProcessId(FindWindow('notepad', Nil), @dwPID);
dwhProc := OpenProcess(PROCESS_ALL_ACCESS, false, dwPID);
// use ReadProcessMemory How to scanning for text?
end;


thanks

_________________
i'm noob
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Dark Byte
Site Admin
Reputation: 474

Joined: 09 May 2003
Posts: 25953
Location: The netherlands

PostPosted: Sun Jan 08, 2012 11:50 am    Post subject: Reply with quote

It's going to require more than 2 lines of code though. Also, look into virtualQueryEx

here is some example code of scanning for something using readprocessmemory (It's even in pascal)
http://code.google.com/p/cheat-engine/source/browse/trunk/Cheat%20Engine/memscan.pas

_________________
Tools give you results. Knowledge gives you control.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
onlyus
Newbie cheater
Reputation: 0

Joined: 27 Aug 2011
Posts: 19
Location: 214214

PostPosted: Thu Jan 12, 2012 1:19 am    Post subject: thanks Reply with quote

Very Happy
_________________
i'm noob
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites