右键单击工程-> Properties->Configuration Properties->General-> Property Default -> Use of MFC , selete "Use MFC with static library"