Go to bottom

mmap versus MapViewOfFile versus your sister.

category: general [glöplog]
I see there's a windows alternative to mmap called MapViewOfFile. Is this fairly standard? Can I expect everyone to have this function? What do you use to mmap files in windows?
added on the 2009-06-10 05:49:02 by sigflup sigflup
added on the 2009-06-10 06:11:37 by hexen hexen
Minimum supported client Windows 2000 Professional
Minimum supported server Windows 2000 Server
Header Winbase.h (include Windows.h)
Library Kernel32.lib
DLL Kernel32.dll
added on the 2009-06-10 06:14:10 by hexen hexen
Thanks, mate
added on the 2009-06-10 06:17:43 by sigflup sigflup
added on the 2009-06-10 06:19:13 by hexen hexen
I used the Imagemagick mmap implementation for NT for a tool I wrote some years ago...
added on the 2009-06-10 10:42:05 by MooZ MooZ
The battle of all battles
Don`t forget!
Man vs. Machine. Machine vs. Computer. Computer vs. Woman. Woman vs. Child
Be there, be square
added on the 2009-06-10 11:10:47 by evilpaul evilpaul
hexen: bs, the full line is:

"Client: Requires Windows XP, Windows 2000 Professional, Windows NT Workstation, Windows Me, Windows 98, or Windows 95."
"Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server."

i.e. it works on any 32-bit Windows.
added on the 2009-06-10 12:00:34 by ryg ryg
I could be wrong, but I think I've used it in the win32s days as well (e.g. the 32 bit mock-up for win3.11)

added on the 2009-06-10 17:16:19 by torus torus
good to see evilpaul's finally lost it
sorry ryg. but that is not what microsoft said. even though it probably says different in those win32 api help files being distributed. but that's the good thing about screwing up here. someone will usually come back and correct you.
added on the 2009-06-10 18:01:16 by hexen hexen
but where's fork()?
added on the 2009-06-10 21:22:37 by Joghurt Joghurt
In my ass thats where fork is.
added on the 2009-06-11 01:50:00 by Hatikvah Hatikvah
well... what was the part with "your sister" actually? i'm more interested in that one :p
added on the 2009-06-11 01:50:32 by supah supah
Oh... ok supah, let's see here *shuffles through pictures*
BB Image
She's the person in the middle. How about you? You have a picture of your sister?
added on the 2009-06-11 08:17:00 by sigflup sigflup
go fekk a demo about it


Go to top