Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Reading data from memory

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello

I have a old piece of hardware that I want to control with a C++ program. The hardware (a framegrabber) copies it's data to a block in memory space, starting at a certain address. (In this case starting at D0000 H ).
Now, I want to read the data from the memory space. I know that Windows has some sort of dynamic memory management. So that the memory used by a program under Windows, can in fact be located anywhere. If I use pointers, do these pointers point to the dynamic or to real addresses ?
And if I want to read a block of data from the memory, can I read it out in one time, or do I have to read it out byte-by-byte ?
It seems to me that reading a block of data from memory is a very basic operation. So I expected to find many examples, but I couldn't find anything.
Can someone tell me how to do this, or show me an example ?

Harry Smith

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top