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?
Thanks in advance.

Mailing lists / fpc-pascal / 2009-10
5 messages · 3 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
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?
Thanks in advance.
2009/10/30 Alexey Voytsehovich :
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?
The wikipedia article on memory mapped files seems to be a good place to start ;) (i.e. mmap and createfilemapping). Also looking at how java/boost does it.
Henry
All the good days. You can not tell what I need to read and/or study for solving…
Alexey Voytsehovich wroteAll 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.
Micha
Hello Micha,
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.
2009/11/2 Alexey Voytsehovich :
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.
Henry