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 with Delphi

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

Joined: 15 Dec 2008
Posts: 144
Location: peru

PostPosted: Tue May 19, 2009 5:45 pm    Post subject: help with Delphi Reply with quote

^,^ hi, i have a question let's say i have an dinamyc addy, i get pointer and offset, now i wanna make a dll to change the value where pointers points to, how do i declare it? using wpm.

and would you main to make an example on how to use WriteProcessMemory and ReadProcessMemory

thanks Very Happy
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Tue May 19, 2009 5:54 pm    Post subject: Reply with quote

WriteProcessMemory

ReadProcessMemory

Remember, MSDN is your friend Wink

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
gunminiho
Expert Cheater
Reputation: 0

Joined: 15 Dec 2008
Posts: 144
Location: peru

PostPosted: Tue May 19, 2009 5:59 pm    Post subject: Reply with quote

i know i dont get how to use it from there ( cause of language, my english its not too good with a example i will get it very well ^^)

still i've been searching and i think my addy will be something like this:

Code:
VirtualProtect(pointer($pointer+offset), x, PAGE_EXECUTE_READWRITE, nil);


i hope it works ^.^

also how do i get value from a textvalue let's say that in VB i do this:

Dim value as integer

value= TextBox.value

how do i so that in delphi??
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Wed May 20, 2009 5:31 pm    Post subject: Reply with quote

gunminiho wrote:
i know i dont get how to use it from there ( cause of language, my english its not too good with a example i will get it very well ^^)

still i've been searching and i think my addy will be something like this:

Code:
VirtualProtect(pointer($pointer+offset), x, PAGE_EXECUTE_READWRITE, nil);


i hope it works ^.^

also how do i get value from a textvalue let's say that in VB i do this:

Dim value as integer

value= TextBox.value

how do i so that in delphi??


VirtualProtect is used to change the page of a block of memory NOT reading it... Did you read the msdn documentation?
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