- Choose Project -> Properties
- Select Configuration -> General
- In the box for how you should link MFC, choose to statically link it.
- Choose Linker -> Input. Under Additional Dependencies, add any libraries you need your app to statically link in.
More Related Contents:
- C99 stdint.h header and MS Visual Studio
- How to enable C++17 compiling in Visual Studio?
- Non-const reference bound to temporary, Visual Studio bug?
- #include all .cpp files into a single compilation unit?
- How to Detect if I’m Compiling Code with a particular Visual Studio version?
- How to set up Google C++ Testing Framework (gtest) with Visual Studio 2005
- How to display a dynamically allocated array in the Visual Studio debugger?
- Remove secure warnings (_CRT_SECURE_NO_WARNINGS) from projects by default in Visual Studio
- Convert CString to const char*
- How do I input variables using cin without creating a new line?
- #define NOMINMAX using std::min/max
- Why did Microsoft abandon long double data type? [closed]
- “The system cannot find the file specified” when running C++ program
- visual c++: #include files from other projects in the same solution
- How to avoid precompiled headers
- How do I use a third-party DLL file in Visual Studio C++?
- How to get a Windows symbol server set up
- srand(time(NULL)) generating similar results [duplicate]
- C++ Visual Studio character encoding issues
- Why does Visual Studio 2013 issue a C4996 error?
- How to get a list of video capture devices (web cameras) on windows? (C++)
- What is the difference between the /Ox and /O2 compiler options?
- How do I build boost with new Visual Studio 2013 preview?
- using static libraries instead of dynamic libraries in opencv
- Can’t get visual studio C++ include file ‘excpt.h’ to get installed
- Aligning static string literals
- Using pre-compiled headers with CMake
- Using Visual Studio project properties effectively for multiple projects and configurations
- How to increase error limit in Visual Studio?
- difference between Console (/SUBSYSTEM:CONSOLE) and Windows (/SUBSYSTEM:WINDOWS)