[Boost-bugs] [Boost C++ Libraries] #8550: [Boost.Thread] static linking of Boost.Thread with an MFC-Dll

Subject: [Boost-bugs] [Boost C++ Libraries] #8550: [Boost.Thread] static linking of Boost.Thread with an MFC-Dll
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-05-06 14:45:49


#8550: [Boost.Thread] static linking of Boost.Thread with an MFC-Dll
------------------------------+---------------------------------------------
 Reporter: tobias.loew | Owner: anthonyw
     Type: Patches | Status: new
Milestone: To Be Determined | Component: thread
  Version: Boost 1.52.0 | Severity: Problem
 Keywords: |
------------------------------+---------------------------------------------
 As there are several mail-threads on the above topic, I gave it a try and
 came up with a solution that let's regular MFC-Dlls work with static
 linked boost-threads:
 Just include boost/thread/win32/mfc_thread_init.hpp in the MFC-Dll code,
 then the MFC-Dll initialization code will be called.
 The solution has no impact on non-MFC code.
 I tested the code with VS 2012. But it should work at least with VS 2008.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8550>
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:13 UTC