This file requires _WIN32_WINNT to be #defined at least to 0x0403. Value 0x0501 or higher is recommended

기존 프로젝트들을 2010 버전으로 변경하면서 위와 같은 에러가 나와서 구글링 해서 알아낸 방법은
프로젝트의 stdafx.h의 내용중에 아래와 같은 내용을 찾아서 변경해주시면 잘 되는군요.. ㅎ





#ifndef WINVER // Allow use of features specific to Windows 95 and Windows NT 4or later.
#define WINVER 0x0501 // Change this to the appropriate value to target Windows98 and Windows 2000 or later.
#endif

#ifndef _WIN32_WINNT // Allow use of features specific to Windows NT 4 orlater.
#define _WIN32_WINNT 0x0501 // Change this to the appropriate value to targetWindows 98 and Windows 2000 or later.
#endif

#ifndef _WIN32_WINDOWS // Allow use of features specific to Windows 98 orlater.
#define _WIN32_WINDOWS 0x0501 // Change this to the appropriate value to targetWindows Me or later.
#endif

#ifndef _WIN32_IE // Allow use of features specific to IE 4.0 or later.
#define _WIN32_IE 0x0500 // Change this to the appropriate value to target IE5.0 or later.
#endif












Posted by great-artist
,