1

I'm trying to use Boost Interprocess mechanisms, specifically shared memory for vectors.

So in my client application which tried to access the shared memory file, to read the shared data, all I get is an error_info which points to Security Error, when it tried to open the shared memory, as in the attached image.

enter image description here

I'm not certain what issue this points to, or whether it needs permissions, and if so, what permissions are required. I'm using Windows 8.1 with UAC turned off.

Sam Miller
  • 23,808
  • 4
  • 67
  • 87
user1173240
  • 1,455
  • 2
  • 23
  • 50
  • did you ever find a solution to this? I get the same error on linux. – marathon Jul 30 '14 at 05:28
  • This was because of synchronization locks. The application was trying to access the shared memory a the same time it was being written, so some locks came into the picture and denied access to the memory. I'd suggest you do a check to see if proper synch is going on. – user1173240 Aug 08 '14 at 07:03

0 Answers0