Corey080698
asked on
Saving Pointers To Fies
I'm working on a 3D Scrolling engine for pascal in which I am using the function Getimage to save portions of the screen to files. The problem is when using a pointer, you are only saving the memory location of the image not what is actually at the pointer location. I was wondering if anyone knew if and how this is can be accomplished. I do not know assembly language and would appreciate an answer without it.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I tried the above answers, but neither of them are working...when i reload the image to a pointer variable from the file, its not coming acrossed as it was saved or not at all. Any more sugestions?
Var
Something : Pointer;
"Something" is the Pointer (xxxx:yyyy)
and
"Something^" is the Data where the Pointer points to