Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
benoitc is currently offline  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
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: LOG_DBG does not work correctly [BUG]
Next Topic: Remote folder/ remote printer dialogs
Goto Forum:
  


Current Time: Fri May 17 04:47:10 CEST 2024

Total time taken to generate the page: 0.02613 seconds