[fpc-pascal] FPC and Memory
XHajT03 at mbox.vol.cz
Thu Apr 28 14:25:34 CEST 2005
On Thu, April 28, 2005 13:52, Alexey Pavluchenko said:
> P> Yes, this is interisting but I'd like for example to create a memory
> P> of some part of ram to see exactly what is there. In old dos days it
> P> possible to do like for i:=0 to 65535 do for j:=0 to 15 do
> P> write(f,mem[i,j]); or similarly. But how can be done this in Windows?
> Here's an excerpt from WinAPI reference:
> === cut ===
> The ReadProcessMemory function reads memory in a specified process.
> The entire area to be read must be accessible, or the operation fails.
Alternatively, you can create shared memory area (memory mapped file) -
for Win32 API example.
More information about the fpc-pascal