Handmade Hero»Forums»Code
matra
7 posts
Reading/writing files with MapViewOfFile function
Is there any reason not to just map the whole file in memory with win32 CreateFileMapping/MapViewOfFile function instead of reading it with ReadFile.


Matra
Casey Muratori
801 posts / 1 project
Casey Muratori is a programmer at Molly Rocket on the game 1935 and is the host of the educational programming series Handmade Hero.
Reading/writing files with MapViewOfFile function
This was answered in the video. It introduces a complex operating system topic for no reason - these are for debug loading only.

- Casey
matra
7 posts
Reading/writing files with MapViewOfFile function
Thanks. I'll watch it again ;-)

BTW: Great videos. I'm looking forward for more.

Matra