Boost C++ Libraries: Ticket #5383: Windows shared memory permitions problem https://svn.boost.org/trac10/ticket/5383 <p> OS: Windows 7, Windows Server 2008 </p> <p> managed_windows_shared_memory created by a process running as service, with permissions instance set to unrestricted. </p> <p> A process run with an administrator user isn't able to attach the shared memory. Error: "The system cannot find the file specified." </p> <p> same code works fine under the same scenario, on a Windows XP platform. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5383 Trac 1.4.3 Ion Gaztañaga Fri, 01 Apr 2011 21:49:47 GMT <link>https://svn.boost.org/trac10/ticket/5383#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5383#comment:1</guid> <description> <p> The documentation says: </p> <p> Sharing memory between services and user applications is also different. To share memory between services and user applications the name of the shared memory must start with the global namespace prefix <code>"Global\\"</code>. This global namespace enables processes on multiple client sessions to communicate with a service application. The server component can create the shared memory in the global namespace. Then a client session can use the "Global\" prefix to open that memory. </p> <p> Are you using Global prefix? </p> </description> <category>Ticket</category> </item> <item> <author>Rui Pedro Fernandes <ruipfernandes@…></author> <pubDate>Mon, 04 Apr 2011 10:56:58 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5383#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5383#comment:2</guid> <description> <p> Replying to <a class="ticket" href="https://svn.boost.org/trac10/ticket/5383#comment:1" title="Comment 1">igaztanaga</a>: </p> <blockquote class="citation"> <p> The documentation says: </p> <p> Sharing memory between services and user applications is also different. To share memory between services and user applications the name of the shared memory must start with the global namespace prefix <code>"Global\\"</code>. This global namespace enables processes on multiple client sessions to communicate with a service application. The server component can create the shared memory in the global namespace. Then a client session can use the "Global\" prefix to open that memory. </p> <p> Are you using Global prefix? </p> </blockquote> <p> No, that's the problem. I found that same information last friday when I was trying to solve the issue and was going to post it here. Thanks for your concern. Yours, Rui </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Ion Gaztañaga</dc:creator> <pubDate>Sat, 24 Dec 2011 19:19:13 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5383#comment:3 https://svn.boost.org/trac10/ticket/5383#comment:3 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">worksforme</span> </li> </ul> Ticket anonymous Mon, 13 Mar 2017 12:14:22 GMT <link>https://svn.boost.org/trac10/ticket/5383#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5383#comment:4</guid> <description> <p> This is still not right in 1.62... </p> </description> <category>Ticket</category> </item> </channel> </rss>