This is actually a two part question:
In debug mode, I have one dll, DLL A that needs functions from another dll, DLL B. DLL B will, in the future, be provided by someone else, exporting the functions that are needed now by DLL A. Both of these DLLs are accessed by the executable. The dlls will be static libraries in release mode and will also be accessed by the executable. I do not want DLL A to know anything about DLL B, even though it needs functions from DLL B.
When I build DLL A as a dll, it fails to link because it needs functions from somewhere else. When I build DLL A as a static library, no linker complaints. Is this even doable in Windows? If so, what do I need to do?
Secondly, how do I define two configurations for the same executable project, Debug which uses DLL A and DLL B, and Release which will use non-debug static libraries instead of the dlls?
I can't make head or tail out of the documentation and constructing a search string for these two issues is beyond me.
Any help would be appreciated.