Hello,
I am releasing a C++ library as a set of DLLs, built under VC++ 7.1. These are built using the /MD linking option, i.e., Multi-threaded DLL. It is my understanding that I then need to redistribute the C & C++ runtime DLLs:
msvcp71.dll
msvcr71.dll
msvcp71d.dll
msvcr71d.dll
I deploy all of these DLLs along with my own DLLs to the same directory. My hope is that anyone developing on VC7.1 or 8.0 can link to my libraries.
I then create an application in vc8.0 and link it to my library. However, when I try calling library functions, I get unhandled exceptions immediately on the first call to my library.
So before I go any farther, I would like to ask what are the best practices in terms of redistributing msvc*.dll with C++ libraries? My main requirement is that I want to support both vc7.1 and vc8.0.
Thanks!