在Visual Studio 2012中使用Windows SDK 10 [英] Using windows SDK 10 with visual studio 2012

查看:281
本文介绍了在Visual Studio 2012中使用Windows SDK 10的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在Visual Studio 2012中使用Windows SDK 10?我想使用engextcpp.cpp和engextcpp.hpp文件(它们是SDK 10的一部分),它依赖于SDK 10中winnt.h中所做的更改。

解决方案

只要您只使用桌面应用程序(而不是Windows应用商店)执行此操作,就可以覆盖C ++项目的标题和库,使其指向Windows 10 SDK目录。


标题是以相当独立于编译器版本的方式编写的,并且库已经有一段时间没有改变格式了。


但是当然要测试一下。


Is it possible to use Windows SDK 10 with visual studio 2012? I want to use engextcpp.cpp and engextcpp.hpp files (which are part of SDK 10) which rely on changes made in winnt.h in SDK 10.

解决方案

As long as you are only going to do this with a desktop application (not Windows Store) then it is possible to just override the headers and libraries for the C++ project to point to the Windows 10 SDK directories.

The headers are written in a fairly compiler version independent way and the libraries haven't changed format for quite a while.

But of course, test it out.


这篇关于在Visual Studio 2012中使用Windows SDK 10的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆