I want to use BerkeleyDB in my project, but I plan to distribute the final program as an .exe file. How can I compile a program by adding both BerkeleyDB dlls to it so that I end up with a single executable that runs on machines that don't have those dlls?
P.S. I have read all similar questions, Properties -> C++ -> Runtime Library -> /MT
and Properties -> Use MFC in a static library
don`t work.