与VC6相配的SDK版本
 
MSDN,这个地球人都知道,最后一个支持VS6的版本是2001年10月版;

Platform SDK,最后一个支持VC6的Platform SDK是February 2003 Edition,下载页面在这里:http://www.microsoft.com/msdownload/platformsdk/sdkupdate/psdk-full.htm

DirectX SDK:DirectX 9.0 Summer 2004 SDK Update,下载页面:http://www.microsoft.com/downloads/details.aspx?FamilyID=fd044a42-9912-42a3-9a9e-d857199f888e&DisplayLang=en
注意这个版本的Direct 9 SDK是不完全支持VC6的,还必须下DirectX 9.0 Summer 2004 SDK Update Extras(http://www.microsoft.com/downloads/details.aspx?FamilyID=736585e1-10f0-4e85-b940-828cba9971f1&DisplayLang=en),注意下载页面的Overview:This download contains all the extra files that are not included in tthe DirectX 9.0 SDK Summer Update 2004 release such as a d3dx.lib which supports VC 6.0, older plug-ins and Japanese version of the documentation.也就是说,DirectX SDK Summer Update 2004里面附带的d3dx.lib是不支持VC6的,支持VC6的版本在这个Extras包里面。另外,如果编译时出现了DWORD_PTR或者其他什么类型未定义之类的错误,是因为微软把BASETSD.H从DirectX SDK发行包里拿掉了,这个文件在Platform SDK里有,在VC的Include路径中把Platform SDK的include路径提到最前面就可以了。(关于Direct 9 SDK的各版本特性和差异,这里讲的很详细:http://www.toymaker.info/Games/html/directx_9_0c.html)。
posted on 2010-05-24 20:46  dan VC 之路  阅读(592)  评论(0编辑  收藏  举报