Microsoft Windows SDK
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或者以上的版本,包括速成版本。
对于非PC版本的Windows,微软也发布对应版本的SDK,例如Windows Mobile SDK和Tablet PC SDK。
版本
MSDN 技术资源库包含Windows SDK的在线版本。Microsoft SDK for Windows 3.0是最后一个收费版本的Windows SDK[4] 单独发布的离线版Windows SDK可以在微软下载中心免费下载,有在线安装和本地安装两种版本。在安装Visual Studio时也可以选择同时安装离线版Windows SDK。Visual Studio的速成版本包含一个精简版本的离线版Windows SDK。
内容
Windows SDK文档包含如下内容[5]:
- 核心SDK
- IIS SDK
- Internet Development SDK (IE SDK)
- MDAC SDK
- Windows Installer SDK
- WMI SDK
- Windows Media Service SDK
- Microsoft Speech SDK[6]
- DirectShow SDK[7]
SDK文档主要是以C语言规范提供,但是SDK函数的调用方法和语言无关,仅受编程语言类型系统限制[8]
另外,SDK也包含用于说明各种API用法的示例,以及用于辅助开发、调试、发布软件的工具[9]。
影响
Windows API也被称为Windows SDK函数或者简称SDK函数[10]。相对于.Net框架这样的类库来说,SDK函数被认为是底层的API[11]。直接调用Windows SDK而不是用别的类库的开发被称为SDK编程[12]。在SDK这一层开发工作枯燥、耗时较长,难度也较高[13],Developer Studio这样的开发环境以及MFC和.Net框架这样的类库可以被用来加速面向Windows的软件的开发[14]。
参考和引用
- ^ Windows SDK Frequently Asked Questions
- ^ Which SDK is Right for Me?
- ^ Windows 7 SDK 下载
- ^ 《InfoWorld》,InfoWorld Media Group, Inc. 1991年2月25日出版
- ^ 《Super SQL Server Systems: Turbocharge Database Performance》,Joseph Gama、Patrick Naughter著,Rampant技术出版社2006年出版,第98页
- ^ Microsoft Speech API SDK
- ^ DirectShow
- ^ 《Windows API编程/程序员书库》冉林仓著,清华大学2005年出版,第2页
- ^ 《Windows graphics programming: Win32 GDI and DirectDraw》,袁峰著,Prentice Hall PTR 2000年出版,第50页
- ^ 《Microsoft Foundation Class 4 bible》Fred Pandolfi、Mike Oliver、Michael Wolski著,Waite出版社集团1996年出版,693页
- ^ 《Journal of object oriented programming, Volume 4, Issues 8-9》 SIGS 1992年出版,第59页
- ^ 《Digital Audio Processing》Doug Coulter著,CMP 2000年出版,第169页
- ^ 《Writing secure code》Michael Howard、David LeBlanc著,微软出版社2001年出版,第xxi页
- ^ 《Object-oriented programming for Windows 95 and NT》Stephen Morris著, Digital Press 1999年出版,第26页