Link to home
Start Free TrialLog in
Avatar of l3m0n
l3m0n

asked on

[Delphi] Readprocess memory pointers.

hello i have question about memory pointers. When i try to read value of adress for example: $14C
decimal: 332, then 332 is a number of Byte in memory? Number like index? Please answer my question.
Avatar of Ephraim Wangoya
Ephraim Wangoya
Flag of United States of America image


That would just be a location in memory, its not necessarily a byte, could be the first byte of a series of bytes that make up the datatype accessed through that address
For a principal understanding of pointers please read this (especially the paragraph "Pointer and Memory Allocation"...

Understanding and Using Pointers in Delphi
http://delphi.about.com/od/objectpascalide/a/pointers.htm
Also a good site...

Addressing pointers
http://rvelthuis.de/articles/articles-pointers.html
As I understand;
hex 14C is dec 332 is bin 101001100

1.
http://www.ascii.cl/conversion.htm
2.
http://www.atmospheric-research.com/FAQS/BINARY%20TO%20HEX%20CONVERSION%20TABLE.htm
3.
http://www.dewassoc.com/support/msdos/decimal_hexadecimal.htm
4.
http://www.howstuffworks.com/bytes.htm


>>then 332 is a number of Byte in memory?
NO
It needs a pointer value
https://www.experts-exchange.com/questions/21694701/Search-string-in-another-process-memory.html

>>Number like index?
NO
just a pointer that points which address to access and use it with a buffer read value
Avatar of l3m0n
l3m0n

ASKER

then when i try to read all values from memory how i can get address?
ASKER CERTIFIED SOLUTION
Avatar of Ephraim Wangoya
Ephraim Wangoya
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>>then when i try to read all values from memory how i can get address?
type "ReadProcessMemory" in the Delphi Zone search, and you will find a lot of samples accepted.

and for document reference?, look back at my previous post.