简体   繁体   English

Windows SDK与Visual Studio

[英]Windows SDK vs Visual Studio

We're currently facing some clashes between VS and Windows SDK , and it occured to me that there's something fundamental I don't understand: 目前,我们在VS和Windows SDK之间遇到了一些冲突,在我看来,有些根本不了解的事情:
Why does MS publish two separate lines of development tools for windows?? MS为什么要为Windows发布两行单独的开发工具? I realize WinSDK is free, and does not include an IDE - but why maintain two separate sets of headers and libs? 我意识到WinSDK是免费的,并且不包含IDE-但是为什么要维护两组独立的标头和库? Shouldn't WinSDK in principle be a subset of a VS release? WinSDK原则上不应该是VS版本的子集吗?

Windows supports programs written in any language or IDE. Windows支持以任何语言或IDE编写的程序。 To that end, Microsoft publishes a canonical set of headers, libraries, tools, and samples for that specific build of Windows. 为此,Microsoft为特定的Windows版本发布了一套规范的标题,库,工具和示例。

For example, there are separate SDKs for Windows XP, Vista, Windows 7, and Windows 8. Each SDK has its own set of headers, although in practice each new SDK is a superset of the last. 例如,对于Windows XP,Vista,Windows 7和Windows 8,有单独的SDK。尽管实际上每个新SDK是最后一个的超集,但每个SDK都有自己的头集。

These headers can be used with any C/C++ compiler, and are often converted for use in other programming languages (Delphi, etc.). 这些标头可以与任何C / C ++编译器一起使用,并且经常被转换以用于其他编程语言(Delphi等)。

A different division of Microsoft produces Visual Studio, with its own release cycle. 微软的另一个部门生产带有自己发布周期的Visual Studio。 They package up the headers and libraries, but typically not the tools or samples, for the latest build of the Windows SDK available at the time Visual Studio is released. 它们打包了Visual Studio发布时可用的Windows SDK最新版本的标头和库,但通常不是工具或示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM