Register
Handmade Hero»Forums»Code»Reading/writing files with MapViewOfFile function
matra
7 posts
Reading/writing files with MapViewOfFile function
5 years, 7 months ago
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
818 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
5 years, 7 months ago
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
5 years, 6 months ago
Thanks. I'll watch it again ;-)

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

Matra