LoadLibrary vs build configuration

67 Views Asked by At

I use LoadLibrary to dynamically load a library in my application. In Visual Studio, I can set different build configurations: x86 or x64 / Debug or Release. I can also build a library from source in different configurations but how to implement loading library in my application which chooses appropriate target based on build configuration which is set in Visual Studio, for example: when I build x64-Release application LoadLibrary should also load x64-Release library.

0

There are 0 best solutions below