views:

120

answers:

1

Hello everyone :)

I've very recently decided to teach myself c++ and win32 programming after learning vb.net, and i've got a very simple question: How can I determine what version of the Windows SDK is installed on my computer? I'm asking so I can install the latest version if it isn't installed allready, before i start playing around with c++. I'm using Microsoft Visual Studio 2008 SP1 as my IDE. (I spent 10 minutes using Google to search for an answer, but I couldn't find one)

If anyone could help me, it would be very much appreciated.

Matt.

+1  A: 

On English locale at least:

dir "%ProgramFiles%\Microsoft SDKs\Windows"

should work. It is quite likely that there will be multiple versions installed, which is the right one for an one build can only be specified by that project.

Richard
+1 - Remember to also check "%ProgramFiles(x86)%\Microsoft SDKs\Windows" on 64-bit machines.
Paul Baker
Thank you Richard for your quick reply, thats exactly what i was looking for. It seems like I will have to update to a newer version.Thank you :)
Matt
@PaulBaker: That may or may not be necessaries, newer versions of the SDK seem to set up in both.
Richard