I have two static libraries lib1.lib, lib2.lib (not their code) with the same function-prototypes, but with different implementations.
I tried including both, and it seems to use always the implementation from the first library included.
If I include both of them in my project, is there a way to choose the implementation from a specific library?
I think it should be possible to write thin wrapper DLL's that link against each of the static libraries. Notice that this will only work if
lib1.lib
andlib2.lib
are static libraries and that such a wrapping will incur a performance hit.