MFC does not support WINVER less than 0x0501

后端 未结 3 494
盖世英雄少女心
盖世英雄少女心 2021-02-04 04:26

I have a C++ project that references many other projects/libraries. This is for an application that was created many years ago. About every once a year it is updated and a new v

3条回答
  •  Happy的楠姐
    2021-02-04 04:43

    By default WINVER is defined as 0x0500 in preprocessor. To overcome from this error, remove defined win version "WINVER=0x0500" from Configuration Properties => c/c++ => Preprocessor tab and rebuild.

    Or you can provide higher WIN VERSION as #define _WIN32_WINNT 0x601 in your code wherever you getting error.

提交回复
热议问题