Home » U++ Library support » U++ Library : Other (not classified elsewhere) » FileMapping::Create is broken on Windows [BUG]
Re: FileMapping::Create is broken on Windows [message #10433 is a reply to message #10427] |
Mon, 09 July 2007 10:33 |
benoitc
Messages: 17 Registered: July 2007 Location: Nice (France)
|
Promising Member |
|
|
No problem, here are the modification I did:
- line 1255: Replace 0 by maplen
hmap = CreateFileMapping(hfile, NULL, PAGE_READWRITE, 0, maplen, NULL);
- line 1290 : remove the comments
rawbase = (byte *)MapViewOfFile(hmap, write ? FILE_MAP_WRITE : FILE_MAP_READ,
I'm still wondering why it has that comment, it was probably done for a good reason, do you know why it was added?
Regards,
Benoit
|
|
|
Goto Forum:
Current Time: Fri May 17 04:47:10 CEST 2024
Total time taken to generate the page: 0.02613 seconds
|