$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
From: John Maddock (john_at_[hidden])
Date: 2004-11-24 06:14:30
> Naturally boost::threads is a dll only (at least v 1.30 which i'm
> currently
> using) and it itself can either link dynamically or statically to the crt.
> It doesn't make any difference which though. I have to link dynamically to
> crt in my program to avoid the leak. Why should this make a difference?
That's your problem: there must be one single rtl shared both by your code
and the Boost.Threads dll: and that means using the dynamic C runtime.
Frankly I'm surprised your code didn't just crash if you were mixing
runtimes :-(
John.