id summary reporter owner description type status milestone component version severity resolution keywords cc 1080 boost::interprocess win32 global file mapping issue matroskin222@… Ion Gaztañaga "There is a serious bug in boost::interprocess library. It is unable to create global shared memory between services and simle applications. An exception is thrown ( m_err = 5, m_str = ""Access is denied"" ) I shortly investigated the way to fix this issue and found that call of CreateFileMappingA winAPI in winapi::create_file_mapping function sets lpAttributes parameter as NULL. To get rid of '''""Access is denied""''' error you can reimplement this function as: ''static inline void * create_file_mapping (void * handle, unsigned long access, unsigned long high_size, unsigned long low_size, const char * name) { SECURITY_ATTRIBUTES sa; SECURITY_DESCRIPTOR sd; InitializeSecurityDescriptor(&sd,SECURITY_DESCRIPTOR_REVISION); SetSecurityDescriptorDacl(&sd, true, NULL, false); sa.lpSecurityDescriptor = &sd; sa.nLength = sizeof(SECURITY_ATTRIBUTES); sa.bInheritHandle = FALSE; return CreateFileMappingA (handle, &sa, access, high_size, low_size, name); }''" Bugs closed Boost 1.45.0 interprocess Problem fixed interprocess global shared memory win32