[Boost-bugs] [Boost C++ Libraries] #11568: Memory mapping with Boost version 1.57

Subject: [Boost-bugs] [Boost C++ Libraries] #11568: Memory mapping with Boost version 1.57
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-08-21 11:54:41

#11568: Memory mapping with Boost version 1.57
 Reporter: raviappaji11@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.57.0
 Severity: Problem | Keywords:

 I am using Visual studio 2013 and boost library version 1.57.

 I am using boost::interprocess namespace for mapping file's contents in

 I am using it in the following way:

 m_fileMapper = new

 m_pixelRegion = new boost::interprocess::mapped_region(*m_fileMapper,
 boost::interprocess::read_only, m_FileHeader.PixelStartPos);

 Here (m_strInputFileName->getStringValue()).c_str() will give the file
 which will be mapped to the memory.

      m_FileHeader.PixelStartPos will give the position of the pixel in the

 But when I execute this it throws an exception of type

 and the error code is 3, which is for "Access denied", even though the
 file is writable. This will happen when mapping the region.

 It works correctly with Visual studio 2010 and boost version 1.48

 Kindly let me know how to solve this problem.

 Thanks & regards,
 Ravi Appaji

Ticket URL: <https://svn.boost.org/trac/boost/ticket/11568>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:18 UTC