The ProgrammersTalk Community
Forum Register Search Today's Posts Mark Forums Read
Register

Go Back   The ProgrammersTalk Community > General Programming > Others > Delphi


Welcome to the The ProgrammersTalk Community forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.
Reply
 
LinkBack Thread Tools    Display Modes   
  #1 (permalink)  
Old 08-25-2007, 08:39 AM
GoofyHTS GoofyHTS is offline
Novice
Join Date: Aug 2007
Posts: 5
iTrader: (0)
GoofyHTS is on a distinguished road
Memory Scanner

Hi all.

I would like to know, how do get the memory range a process is using? like the base address and end address. I want to make a memory scanner like tsearch,cheat engine,art money etc.

Ideas?

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #2 (permalink)  
Old 08-27-2007, 08:25 PM
HelloWorld's Avatar
HelloWorld HelloWorld is offline
Programming Expert
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: In front of computer...
Posts: 1,109
iTrader: (0)
HelloWorld will become famous soon enoughHelloWorld will become famous soon enoughHelloWorld will become famous soon enough
Quote:
how do get the memory range a process is using?
Sorry that I'm not familiar with Delphi nor Pascal, but you can do this with these languages? I'm not even sure if we can do this with C++ I personally haven't tried it out, but I think there must be something with operating system, since operating system is the one who's responsible in running a program...

__________________
PHP Code:
System.out.println("Hello World!"); 

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!
Reply With Quote
  #3 (permalink)  
Old 08-28-2007, 02:19 AM
Lee's Avatar
Lee Lee is offline
PT Staff*
Awards Showcase
Quality Tutorial 
Total Awards: 1
Join Date: Jun 2007
Location: Blackpool, UK
Posts: 615
iTrader: (0)
Lee will become famous soon enoughLee will become famous soon enoughLee will become famous soon enoughLee will become famous soon enough
From what i have seen you are able to do this with quite a few languages, C++ i am 99% sure you can and even VB/VB.NET i am 60% sure you can.
Reply With Quote
  #4 (permalink)  
Old 08-28-2007, 11:14 AM
ccoonen ccoonen is offline
PT Staff
Awards Showcase
Quality Tutorial Quality Tutorial Quality Tutorial Quality Tutorial 
Total Awards: 4
Join Date: Jun 2007
Location: Wisconsin
Posts: 308
iTrader: (0)
ccoonen is on a distinguished roadccoonen is on a distinguished roadccoonen is on a distinguished roadccoonen is on a distinguished road
Not sure about searching through the actual memory ranges, but I know you can get the handles of windows and sub-windows and manipulate anything on screen you want. (Just use windows api to handle windows forms). Vb/.NET is hella easy at doing this - just load up Spy++ and literally "Spy" the hWnd names
Reply With Quote
  #5 (permalink)  
Old 09-01-2007, 02:59 AM
GoofyHTS GoofyHTS is offline
Novice
Join Date: Aug 2007
Posts: 5
iTrader: (0)
GoofyHTS is on a distinguished road
Hi

You can create this with c++,vb and delphi (cheat engine was created with dephi). The thing is i need to read a value from memory,the program uses DMA. I know you can NOP it and stuff, but only need to read this value, not change it.

So by scanning the memory i could find the memory address, for instance if a specific button is enabled, the value=30,once you click the button and it is enabled again it is =60 and click until it cannot be clicked anymore,starting over it would be 30 again.

Or unless someone as an idea how to read the text off a statusbar,there is where this value is displayed. I can read text off buttons,labels etc (with WM_GETTEXT). but cannot read it of a statusbar (have no idea why)

Maybe this would also help, the statusbar with the value is in a runtime created window, i am now reading the value from the process that created this window, if that helps...

ideas?

__________________

Digg this Post! Del.Icio.Us this Post! Technorati this Post! Furl this Post! Mister Wong this Post! Newsvine this Post! Spurl this Post! Reddit this Post! Netscape this Post!

Last edited by GoofyHTS : 09-03-2007 at 12:55 PM.
Reply With Quote
Reply


Thread Tools
Display Modes

   Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -7. The time now is 05:10 PM. Powered by vBulletin
Copyright © 2000 - 2007, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO © 2007 ProgrammersTalk Sedo - Buy and Sell Domain Names and Websites project info: programmerstalk.net Statistics for project programmerstalk.net etracker® web controlling instead of log file analysis


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50