Boost logo

Boost :

From: Beman Dawes (bdawes_at_[hidden])
Date: 2002-02-18 16:31:29

At 01:53 PM 2/18/2002, bill_kempf wrote:

>> >The actual build process compiles most of the library as a static
>> >link library, but the threadmon stuff has to be in a DLL,
>> >unfortunately. This is a consequence of the Win32 MT design where
>> >DllMain() is the only mechanism that allows you to cleanup thread
>> >resources.
>> Can you put a specific check into the threadmod code to give an
>#error if
>> it isn't being compiled as a DLL? Only to apply to appropriate
>> of course. Would save a lot of grief, I'd expect.
>I'm not sure if there is a way to do this. If there is I'd love to
>hear about it.

Hum... I was thinking that _DLL did it. But that specifies the runtime
library used, not what the target is.

Jason? Any ideas?


Boost list run by bdawes at, gregod at, cpdaniel at, john at