Dave's Brain

Browse - 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

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

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.