Settings for CRT linking and MFC linking must be coherent. So, actually, there are two possible answers at this question:
-
Use /MT (Properties -> C/C++ -> Code Generation) and static MFC (Properties -> General -> Use of MFC)
-
Use /MD (Properties -> C/C++ -> Code Generation) and shared MFC (Properties -> General -> Use of MFC)