Programming Tips - _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h)

Date: 2022oct24 Product: Microsoft Visual C++ 2017 Keywords: msvc Language: C/C++ Q. _WIN32_WINNT not defined. Defaulting to _WIN32_WINNT_MAXVER (see WinSDKVer.h) A. If its an MFC application add:
#include <sdkddkver.h>
to stdafx.h