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 


[help[ delphi memory

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
slippppppppp
Grandmaster Cheater
Reputation: 0

Joined: 08 Aug 2006
Posts: 929

PostPosted: Fri Nov 16, 2007 7:36 pm    Post subject: [help[ delphi memory Reply with quote

Im working on a project and i need help. Lets say there is a money value, and it's address is : 01a1fd4c . its value is the value i want. How would i make it so that in my application, id get the value and translate it to a string and put it on a caption on lable. Yes, i know strtoint, but i want to know how to actually get that value from my delphi exe.
Back to top
View user's profile Send private message AIM Address MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Fri Nov 16, 2007 7:48 pm    Post subject: Reply with quote

Code:

var
  TheValue: DWORD;
begin
  //Assuming you wanted the value as a DWORD
  TheValue := PDWORD($01a1fd4c)^;
  Label1.Caption := IntToStr(TheValue);
end;

_________________
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