
4 Aug
2004
4 Aug
'04
10:02 a.m.
Building a user DLL that is statically linked to boost surprisingly is disallowed. I get the message: #error: "Mixing a dll boost library with a static runtime is a really bad idea..."
You will get that error if you are trying to use a Boost lib as a DLL, when the run time is statically linked.... and that really is a bad idea as the calling code and the lib will each have different runtimes. If you statically link Boost to a DLL that doesn't expose Boost to the outside world then that should be fine, and should not produce the above message. John.