MFC does not support WINVER less than 0x0501 解决方案

将 stdafx.h 中的以下代码进行修改

#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0601
#endif


参考文章:http://stackoverflow.com/questions/28077427/mfc-does-not-support-winver-less-than-0x0501