By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,421 Members | 1,053 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,421 IT Pros & Developers. It's quick & easy.

Standard runtime distributables - vc7.1 & vc8.0

P: 1
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!
Mar 23 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.