跳转到内容

Microsoft Windows SDK

维基百科,自由的百科全书

这是本页的一个历史版本,由EmausBot留言 | 贡献2013年4月14日 (日) 03:57 (机器人:移除 1 个跨语言链接,现在由维基数据d:Q1062589提供。)编辑。这可能和当前版本存在着巨大的差异。

Microsoft Windows SDK(简称Windows SDK或者SDK)是由微软公司出品的一个软件开发包,向在微软的Windows操作系统.NET框架上开发软件和网站的程序员提供头文件库文件、示例代码、开发文档和开发工具[1]

历史

微软每次发布一个主要版本的Windows,都会发布对应的开发工具以使得开发人员能够调用新的操作系统的应用程序开发接口(API)。在Windows 98之后,这个开发工具包被命名为为Platform SDK。在Windows Vista的SDK推出时,这个产品改名为Windows SDK[2]

和Windows一样,微软每次更新.NET框架,也会发布一个对应的.NET框架 SDK。在Windows 2008版本的Windows SDK推出之后,.NET框架SDK被整合到Windows SDK。

目前最新版本的Windows SDK是Windows 7 SDK,支持面向Windows XP或更高版本的Windows的程序的开发[3],以及兼容Visual Studio 2005或者以上的版本,包括速成版本。


版本

MSDN技术资源库的在线版网站包含Windows SDK的在线版本。

Microsoft SDK for Windows 3.0是最后一个收费版本的Windows SDK[4]。之后的Windows SDK电子版均为免费,但是购买CDDVD等基于物理介质的版本时仍需运费和处理费用[5]

单独发布的电子版Windows SDK可以在微软下载中心免费下载,有在线安装和本地安装两种版本。在安装Visual Studio时也可以选择同时安装电子版Windows SDK。Visual Studio的速成版本包含一个精简版本的离线版Windows SDK。

对于非PC版本的Windows,微软也发布对应版本的SDK,例如Windows Mobile SDK和Tablet PC SDK。

2003年2月的Platform SDK是第一个支持64位开发的Platform SDK。Platform SDK for Windows Server 2003 SP1则是第一个支持AMD64的Platform SDK[6]

内容

Windows SDK文档包含如下内容[7]

  • 核心SDK
  • .NET框架SDK
  • IIS SDK
  • Internet Development SDK (IE SDK)
  • MDAC SDK
  • Windows Installer SDK
  • WMI SDK
  • Windows Media Service SDK
  • Microsoft Speech SDK[8]
  • DirectShow SDK[9]

除了.Net SDK之外,SDK文档主要是以C语言规范提供,但是SDK函数的调用方法和语言无关,仅受编程语言的类型系统限制[10]

另外,SDK也会安装用于说明各种API用法的示例,以及用于辅助开发、调试、发布软件的工具[11]

影响

Windows API也被称为Windows SDK函数或者简称SDK函数[12]。相对于.Net框架这样的类库来说,SDK函数被认为是底层的API[13]。直接调用Windows SDK而不是用别的类库的开发被称为SDK编程[14]。在SDK这一层开发工作枯燥、耗时较长,难度也较高[15]Visual Studio这样的开发环境以及MFC和.Net框架这样的类库可以被用来加速面向Windows的软件的开发[16]

参考和引用

  1. ^ Windows SDK Frequently Asked Questions
  2. ^ Which SDK is Right for Me?
  3. ^ Windows 7 SDK 下载
  4. ^ 《InfoWorld》,InfoWorld Media Group, Inc. 1991年2月25日出版
  5. ^ Order Windows SDK/PSDK on Disk
  6. ^ How to obtain the 64-bit version of the Visual C++ 7.1 libraries and build tools
  7. ^ 《Super SQL Server Systems: Turbocharge Database Performance》,Joseph Gama、Patrick Naughter著,Rampant技术出版社2006年出版,第98页
  8. ^ Microsoft Speech API SDK
  9. ^ DirectShow
  10. ^ 《Windows API编程/程序员书库》冉林仓著,清华大学2005年出版,第2页
  11. ^ 《Windows graphics programming: Win32 GDI and DirectDraw》,袁峰著,Prentice Hall PTR 2000年出版,第50页
  12. ^ 《Microsoft Foundation Class 4 bible》Fred Pandolfi、Mike Oliver、Michael Wolski著,Waite出版社集团1996年出版,693页
  13. ^ 《Journal of object oriented programming, Volume 4, Issues 8-9》 SIGS 1992年出版,第59页
  14. ^ 《Digital Audio Processing》Doug Coulter著,CMP 2000年出版,第169页
  15. ^ 《Writing secure code》Michael Howard、David LeBlanc著,微软出版社2001年出版,第xxi页
  16. ^ 《Object-oriented programming for Windows 95 and NT》Stephen Morris著, Digital Press 1999年出版,第26页

相关条目

外部链接