Subject: [Boost-bugs] [Boost C++ Libraries] #5552: get_wmi_class_attribute hangs on win2003
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2011-05-19 14:03:14
#5552: get_wmi_class_attribute hangs on win2003
------------------------------+---------------------------------------------
Reporter: anonymous | Owner: igaztanaga
Type: Bugs | Status: new
Milestone: To Be Determined | Component: interprocess
Version: Boost 1.46.1 | Severity: Problem
Keywords: hang, COM |
------------------------------+---------------------------------------------
I found this problem while I was using shared_memory. Function hangs on
call to pIWbemLocator->ConnectServer.
The solution to this issue is changing CoInitialize(0) at the beginning of
function to CoInitializeEx(0, COINIT_MULTITHREADED).
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/5552> 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:06 UTC