Boost Users :
Subject: Re: [Boost-users] Why "Mixing a dll boost library with a staticruntimeis a really bad idea..."?
From: John Maddock (john_at_[hidden])
Date: 2009-03-15 05:27:25
>> It absolutely *will* cause your program to crash if you do that: the dll
>> the application will have different runtime libraries
> The OP says he wants to use boost libs as DLLs, but with static
> runtime. Isn't it possible to build boost with "link=shared
> runtime-link=static" ? Then the dll and the application would have the
> same runtime libraries.
No they wouldn't: or at least they would have *different instances* of the
same code, with all the same problems.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net