Re: [Boost-bugs] [Boost C++ Libraries] #5392: Message queue temporary dir named "Select LastBootUpTime from Win32_OperatingSystem" (on win XP)

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #5392: Message queue temporary dir named "Select LastBootUpTime from Win32_OperatingSystem" (on win XP)
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-07-21 11:33:07


#5392: Message queue temporary dir named "Select LastBootUpTime from
Win32_OperatingSystem" (on win XP)
-------------------------------+--------------------------------------------
  Reporter: wsx22@… | Owner: igaztanaga
      Type: Bugs | Status: closed
 Milestone: To Be Determined | Component: interprocess
   Version: Boost 1.46.1 | Severity: Problem
Resolution: fixed | Keywords: interprocess, message queue, temporary directory, temp
-------------------------------+--------------------------------------------

Comment (by Kai K.):

 I checked the creation of threads in the first process and a change of the
 used API (_beginthread > _beginthreadex) did not help. Therefore I search
 the net for issues corresponding to pEnumObject->Next(...) and the result
 WBEM_E_ACCESS_DENIED. I found the [http://support.microsoft.com/kb/948829
 KB948829] article which recommends the usage of {{{CoSetProxyBlanket}}}. I
 integrated the call of {{{CoSetProxyBlanket}}} in
 {{{get_wmi_class_attribute}}} and now my shared memory works again. See
 the attached patch [attachment:win32_api.hpp.#5392.patch].

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/5392#comment:15>
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:07 UTC