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 


VB.NET Find a Process's Memory Block

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

Joined: 08 Mar 2008
Posts: 21

PostPosted: Thu May 24, 2012 7:35 am    Post subject: VB.NET Find a Process's Memory Block Reply with quote

Using Cheat Engine I can always find the memory address and I can create a loop to search though a range on memory to find it if I have roughly the right memory address to start from but can someone please tell me once I have the process how do I know its memory address locations?

I'm using

ReadProcessMemory(_TargetProcessHandle, MemoryAddress, Bytes, CUInt(Count), 0)

My problem is how do I find out the MemoryAddress for my process

Sorry if this has been asked before I have tried looking around the forum but couldnt find the answer
Back to top
View user's profile Send private message
madmunky
Newbie cheater
Reputation: 0

Joined: 08 Mar 2008
Posts: 21

PostPosted: Tue May 29, 2012 8:17 am    Post subject: Reply with quote

Well I manage to find the answer to this is was pretty simple the Process returns the baseaddress

Dim StartPoint As Integer = memoryReader.TargetProcess.MainModule.BaseAddress

Then I just loop though from this address till I find what im looking for.

If there is a better way of doing this please let me know.
Back to top
View user's profile Send private message
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