Use correct flag for MapViewOfFile
Use tempvar in INIT()