[fpc-pascal] memory mapped file
henry.vermaak at gmail.com
Mon Nov 2 11:05:49 CET 2009
2009/11/2 Alexey Voytsehovich <ironwit at gmail.com>:
> Hello Micha,
> Saturday, October 31, 2009, 2:39:19 PM, you wrote:
>> Alexey Voytsehovich wrote:
>>> All the good days.
>>> You can not tell what I need to read and/or study for solving
>>> cross-platform (linux/windows) implementation of the memory mapped file?
>> On unix, it would be fpmmap.
>> On windows, it would be CreateFileMapping/MapViewOfFile if I'm not mistaken.
> Thank you. But it will have to write my wrapper for these functions in
> my program to use something the same way. That and I thought perhaps
> someone had already written such a cross-platform wrapper for memory
> mapped file for linux and windows platforms.
That's why I said you should look at java/boost, because they already
have a cross platform (at least linux/win) implementation for memory
mapped files. This will give you an idea of the interface, at least.
More information about the fpc-pascal