title: C++: renaming dlls and libs and linking
body: <p>We are using a 3rd party library that we build our code with. This library has both a 32-bit and 64-bit dll and lib. Both the 32 bit and 64 bit versions have the same name. Our software is expected to be built for both 32 bit and 64 bit and depending on the version it is naturally supposed to link to the corresponding version of the 3rd party tool. The problem is that we only have a single 3rd party include folder in our solution structure (no sub folders for 32 bit or 64 bit) so I can not place both versions in there without changing the name of one. I was told that if I change both the dll name and the corresponding lib name (example: add 64 to the 64bit dll and lib name) everything will still work and load automatically but to me this seems like it would not work. I am actually having a strange problem starting the 64bit app right now. Weird thing is that there is apparently another case where this approach worked for us before. So how is this work generally anyway? Can I change the name of a lib and a dll and as long as I link my code to the new name? Or will the dll not be loaded correctly at runtime? </p>