Search all your project "_WIN32_WINNT" and "WINVER". Change the value to 0x0A00 #define _WIN32_WINNT 0x0A00 // Target Windows 10 #define WINVER 0x0A00
This variable is the target version for Windows you are plaining to build. Because the visual studio you are using having a new version but you software running with the old version requirement. So you need to add this. Then compiler can look up the correct library in Visual Studio