boostorg / thread

Boost.org thread module
http://boost.org/libs/thread
203 stars 162 forks source link

Change _pRawDllMain and related types to use HINSTANCE instead of HANDLE #147

Closed Lastique closed 7 years ago

Lastique commented 7 years ago

In MSVC-9 MFC sources, _pRawDllMain and ExtRawDllMain accept HINSTANCE as the first argument, not HANDLE. In strict mode these are different types, which creates the potential for ODR errors. This commit resolves that inconsistency.

Resolves https://svn.boost.org/trac10/ticket/12323.

viboes commented 7 years ago

Andrey, thank you very much for your help.