From: Michael Glassford (glassfordm_at_[hidden])
Date: 2003-12-12 13:16:56
It's also worth noting that, for VC6, at least, "you can't create threads in
DllMain" also means that you can't create threads in constructors of global
variables (or in CWinApp::InitInstance if you use MFC).
Russell Hind wrote:
> Have a look at
> You can't create threads in a DLLMain. You should add an Initialise
> Shutdown methods to your DLL and have the host application call these
> after the DLL has been loaded and before the DLL has been un-loaded.
> JOLY Loic wrote:
>> Dear boosters,
>> We have a problem when trying to launch a boost thread from a
>> Windows DLL.
> Unsubscribe & other changes:
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk