[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 460
  • Last Modified:

[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.
0
l3m0n
Asked:
l3m0n
  • 2
  • 2
  • 2
  • +1
1 Solution
 
Ephraim WangoyaCommented:

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
0
 
ThommyCommented:
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
0
 
ThommyCommented:
Also a good site...

Addressing pointers
http://rvelthuis.de/articles/articles-pointers.html
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
systanCommented:
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
http://www.experts-exchange.com/Programming/Languages/Pascal/Delphi/Q_21694701.html

>>Number like index?
NO
just a pointer that points which address to access and use it with a buffer read value
0
 
l3m0nAuthor Commented:
then when i try to read all values from memory how i can get address?
0
 
Ephraim WangoyaCommented:

You really need to start by defining exactly what you want. What are you trying to accomplish?

What values are you trying to read from memory?

And why do you need the memory address?
0
 
systanCommented:
>>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.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now