title: How to statically link a library in MSVC?
body: <p>I am compiling my program in Microsoft Visual C++ 10, and it uses the PDCurses library. I have configured it to link against pdcurses.lib but when I try to run the application the system complains that it can't find "pdcurses.dll". It's not supposed to complain about it. I used to compile programs with MinGW (GCC) and it doesn't ask me about any DLL when I try to run the application. What can I do so that MSVC statically links PDCurses?</p>