How to Install the Windows SDK ISO Image

The newly released Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 SP1: BETA is available on the Microsoft Download Center in ISO format. RTM versions of Windows SDKs are typically provided in two install formats — a Web Setup or an ISO install. Pre-release SDKs, such as the Windows SDK for Windows 7…

1

Windows SDK components missing from VS 2008?

A couple of developers have written asking why the Windows SDK components that were expected to install with Visual Studio 2008 were missing after Visual Studio installed.  The Windows SDK installs several version 6.0a components whenever Visual Studio is installed: Windows headers are installed by default to \Program Files\Microsoft SDKs\Windows\v6.0A\include Windows libraries are installed by…

2

How-to: In search of strmbase.lib

Several of the DirectShow samples in the Windows SDK require strmbase.lib, and quite a few developers have asked me where to find this file. It does not install to the default location with other libraries (C:\Program Files\Microsoft SDKs\Windows\v6.1\lib). Other folks have figured out how to build strmbasd.lib, but they need strmbase.lib. Strmbasd.lib is not included…

1

How-to: Use Visual C++ 2008 Express with the Windows SDK

This concise article on the Windows SDK Blog describes what you need to do to build Win32 applications using Visual C++ Express and the Windows SDK for Windows Server 2008 and .NET Framework 3.5.  A more detailed explanation including screenshots can be found here.   With the Visual Studio 2008 Express versions you can build…

1

How-to: Find API References Alphabetically

Did you know that you can search for APIs alphabetically in the Windows SDK Documentation?  You can search the online SDK Documents on MSDN.    This topic has the unlikely name of “Platform Information” in the SDK documents (don’t ask me why).  Although it’s not particularly well-named, it’s a handy way to find that API…

1

Finally understanding COM after changing a light bulb

Jeff Moser has just posted an amazingly well-written, easy to digest article on working with COM that really gets into the nitty-gritty about why things work the way they do in COM.  The code snippets and screenshots make this article very engaging.  If you’re developing with Win32 APIs you should take a look at Jeff’s…

1

Windows SDK “How to…”

Even the most obvious Visual Studio tricks and tips on Sara Ford’s “Did you know…” blog posts are useful reminders, and now that she’s including more Visual Studio 2008 tips I’m seeing some not-so-obvious hints and cool features.  We need more “How-to” type tricks and tips for the for the Windows SDK and will be…

2

Visual Studio/Windows SDK: what’s the difference?

I’ve received a few emails from beginning developers asking what the difference is between Visual Studio and the Windows SDK.  This is a popular question on the forums too, so I’ll address it here in my “SDK Basics Series.”   Visual Studio and the Windows SDK are serve different purposes but they work well together. …

1

How to: build from the Windows SDK command line

To build from the SDK command line:   1.    Copy your application or sample to a working folder not under \Program Files. 2.    Open the Windows SDK CMD shell (Start, All Programs, Windows SDK v6.1, SDK CMD Shell). 3.    Navigate to directory where your sample/app can be found. 4.    Build the sample from the command…

2

Where’s Windows SDKSetupLog.txt installed?

 When downloading the Windows SDK, files are written to a temp directory.  If you’re having setup problems you may need to clear this temporary directory before reinstalling.  By default, the temp directory is here:   On Vista: C:\%user%\AppData\Local\Temp\SDKSetupLog.txt   On XP: C:\Documents and Settings\%User%\Local Settings\ SDKSetupLog.txt   Having install issues?  See Troubleshooting SDK Download/Setup Problems.

1