| View previous topic :: View next topic |
| Author |
Message |
gunminiho Expert Cheater
Reputation: 0
Joined: 15 Dec 2008 Posts: 144 Location: peru
|
Posted: Tue May 19, 2009 5:45 pm Post subject: help with Delphi |
|
|
^,^ 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
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Tue May 19, 2009 5:54 pm Post subject: |
|
|
WriteProcessMemory
ReadProcessMemory
Remember, MSDN is your friend
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
gunminiho Expert Cheater
Reputation: 0
Joined: 15 Dec 2008 Posts: 144 Location: peru
|
Posted: Tue May 19, 2009 5:59 pm Post subject: |
|
|
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 |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Wed May 20, 2009 5:31 pm Post subject: |
|
|
| 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 |
|
 |
|