My (C++, cross-platform) app is heavily using Boost
libraries (say version 1.x
), and I want to also link against a 3rd-party (vendor)'s SDK (no source), itself using Boost
(but version 1.y
).
So, we both link dynamically against our own version of Boost
DLLs, CRT being identical. Consequently, at run-time my app would have to load both DLL of Boost 1.x & 1.y
.
What are the potential issues & gotchas associated?
I can't change vendor's SDK, but I can change my app. Maybe I should try to link statically against my Boost 1.x
?
PS: Name of Boost
's DLL include their version, so no name collision, both are identifiable. Not the usual DLL-hell.