更新时间:2022-03-15 23:32:46
最终的解决方案很简单.诀窍是让 VS 赢得 SDK,因为某些原因在我的情况下是不正确的.项目属性 ->VC++ 目录 ->库目录
应该指向C:Program FilesMicrosoft SDKsWindowsv7.1Libx64
the solution was dead easy at the end. The trick is to point VS to win SDK that for some reason was incorrect in my case.
Project Properties -> VC++ Directories -> Library Directories
should point to C:Program FilesMicrosoft SDKsWindowsv7.1Libx64