Programming Tips - How can my DLL or EXE avoid dependence on MSVCR80D.DLL?

Date: 2010jan19 Updated: 2016may4 Environment: Visual Studio C++ 2005 Language: C/C++ Keywords: static link, dynamic, dependency, depends, dependencies, plugin, mfcdll Q. How can my DLL or EXE avoid dependence on MSVCR80D.DLL? A. You need to change
(Right click on the project) > Properties > Configuration Properties > C/C++ > Code Generation > Runtime Library
to something that does not include "DLL". Also take a look at
(right click on the project) > Properties > Configuration Properties > General
to statically link with MFC if you wish. Check with DEPENDS.EXE http://www.davekb.com/search.php?target=DEPENDS.EXE