在microsoft网站下载win sdk win7,共有3个版本的sdk,解压后如下所示:
[URL=https://32qjdg.blu.livefilestore.com/y1mkdcze00co-co8g-ymskjlkhqukn6nhl-askcpuozm2h0-l8ylkxjjjht6gx4kjsylyw8u9fnynuuranywsyj-yjsebnym9kd_kgfxebbt9lt60zvf0yoafvfzgvr9vgd_a7eqgzjscypkinhbuvvtg/image[7]%2008df6400.png?download&psid=1]
https://32qjdg.blu.livefilestore.com/y1mml4sifd3th24d7jvgb8s55d7ryxcybrn44yyqd-taxfoxv7cabcpsc6lblkjp0bogfiufhpxoc0hxzp9lkrlo5zq-a_54un9an5sbvlhxplmznzibzhs9rdq_dn86tscd8tlzpipez9clfwh8xvkkg/image_thumb[3]%2037817eb0.png?download&psid=1">http://blog.gkong.com/
https://32qjdg.blu.livefilestore.com/y1mml4sifd3th24d7jvgb8s55d7ryxcybrn44yyqd-taxfoxv7cabcpsc6lblkjp0bogfiufhpxoc0hxzp9lkrlo5zq-a_54un9an5sbvlhxplmznzibzhs9rdq_dn86tscd8tlzpipez9clfwh8xvkkg/image_thumb[3]%2037817eb0.png?download&psid=1
[/URL]
一般情况下,选择“winsdk_dvdx86进行安装,安装如下所示
[URL=https://32qjdg.blu.livefilestore.com/y1mp00p52mgf-lllo_qlnveb5uacjpvpy5pw6jyqcunliflzxgbhn7bmtpmurqhizxwrsglzgcrnhvws-rgxnpjswh2xxisuxjw5ppik31y8gujuquhlqobdx0xqvmomg9etq5tmlltmut7lkbmnrvfra/image[3]%207ad8989e.png?download&psid=1]
https://32qjdg.blu.livefilestore.com/y1mbvitrl1il4g9q660yipz5vnchaln-_kq7vru5c-6izwe-thqyelbs6icyjeykq-e6x-0mkgsxc8gvbh-3erupmtjyzv4ov9s8dl83uqrujd4adqqekdcn6ds3i7og6zvswe-0xp47xx1xj9w6flowq/image_thumb[1]%201affb72a.png?download&psid=1">http://blog.gkong.com/
https://32qjdg.blu.livefilestore.com/y1mbvitrl1il4g9q660yipz5vnchaln-_kq7vru5c-6izwe-thqyelbs6icyjeykq-e6x-0mkgsxc8gvbh-3erupmtjyzv4ov9s8dl83uqrujd4adqqekdcn6ds3i7og6zvswe-0xp47xx1xj9w6flowq/image_thumb[1]%201affb72a.png?download&psid=1
[/URL]
set build environment switches:
to set specific targets in the build environment:
· launch the windows sdk build environment - from the start menu, click on all programs > microsoft windows sdk v7.1 > windows sdk 7.1 command prompt
· set the build environment - at the prompt, type:
setenv [/debug | /release][/x86 | /x64 | /ia64 ][/vista | /xp | /2003 | /win7][-h | /?]
the setenv.cmd help [-h | /?] displays the usage
/debug - create a debug configuration build environment
/release - create a release configuration build environment
/x86 - create 32-bit x86 applications
/x64 - create 64-bit x64 applications
/ia64 - create 64-bit ia64 applications
/vista - create windows vista sp1 applications or windows server 2008
/xp - create windows xp applications
/2003 - create windows server 2003 applications
/win7 - create windows 7 or windows server 2008 r2 applications
[URL=https://32qjdg.blu.livefilestore.com/y1mjcq4uu3u5i_juq3vy_vinub2chwnfvwgs6jksot0mkbuqlozlxhr4lbh2wbx7gjum-imkr2t0vxlduwhvry9g2wmfxejbdvbjzqmviuugrepggflthtjhoky_8c5jkfsmktqswdds_tis5z749ufyq/image[11]%20200e06a7.png?download&psid=1]
https://32qjdg.blu.livefilestore.com/y1m0vxyjz2-yxlyyn4uf4jjss1ome7xadooozl3ltwh_hey0_dify3rzlktw29nbvioji7c7eyg95om3sbn-uqs3krjqvtt-tp_ydmpku7_4yjibs2hciepnpyfvifkb-op12ah6ykycfuh1vqpoaycug/image_thumb[5]%2006759206.png?download&psid=1">http://blog.gkong.com/
https://32qjdg.blu.livefilestore.com/y1m0vxyjz2-yxlyyn4uf4jjss1ome7xadooozl3ltwh_hey0_dify3rzlktw29nbvioji7c7eyg95om3sbn-uqs3krjqvtt-tp_ydmpku7_4yjibs2hciepnpyfvifkb-op12ah6ykycfuh1vqpoaycug/image_thumb[5]%2006759206.png?download&psid=1
[/URL]
----------------------------------------------
此篇文章从博客转发
原文地址:
Http://blog.gkong.com/more.asp?id=120832&Name=zjcsharp