右击项目名选择properties选项, 接着在出现的对话框内选择configuration properties-> general->Use of MFC->点击选择Use MFC in a shared DLL