Boost logo

Boost Users :

Subject: [Boost-users] Boost thread conflicts with MFC
From: Igor MI (kostadinovigor_at_[hidden])
Date: 2009-04-08 04:57:25

I updated from 1.35 to 1.38 when the conflicts started. My MFC application
wouldn't start, it would throw an exception. I pinned down the problem to
the hook that boost thread library is using which is located in tss_pe.cpp:

extern "C"
    extern BOOL (WINAPI * const _pRawDllMain)(HANDLE, DWORD,

What I did is comment this declaration and rebuild the library and now my
application seems to be running normally. My question is can boost thread
library run properly without this hook? If not, what other solution do you

Thanks, Igor.

View this message in context:
Sent from the Boost - Users mailing list archive at

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at