I'm happy with dynamic linking while creating small c++ windows applications. But now I need to add a third part library. I have both a dll and a lib file. I prefer not to copy third party dll each time I install my application. Can I somehow link newly provided library statically while keeping whole project dynamically linked? In Microsoft Visual Studio IDE I found only one place where I can choose static/dynamic linking, in Properties->Configuration Properties->Code Generation->Runtime Library
. But I suppose this selection is for the whole project and I need to link some libs statically and some of them dynamically.
UPDATE
In general I need to link some libs dynamically and others statically in the same project. The provided link tells only about static or dynamic linking in the same project