
But the second problem concerning shared_memory_object::remove(const char* name) is still present.
I realized another problem. If I call the static function shared_memory_object::remove(const char* name), the memory should be removed only when no further process has access to the memory. This seems also not to work. I did the following: 1. create shared memory for writing. 2. open shared memory for reading 3. shared_memory_object::remove(const char* name) (from the reading process) 4. reopen the shared memory for reading -> exception: can not find the file
Thanks for your help and apoligizes for bothering you with my first problem.
Philipp
Hi Philipp, Check out http://www.boost.org/doc/libs/1_41_0/doc/html/interprocess/sharedmemorybetwe... If you call remove on a shared memory object, you are unable to reopen a shared memory object with that name. Hope that helps. Derek Kivi ver. QuIC 0707