Using SecAnnotate to Analyze Your Assemblies for Transparency Violations

SecAnnotate can be used to analyze your assemblies, especially APTCA assemblies in order to find transparency violations without needing code coverage from a test case.  The static analysis provided by SecAnnotate is valuable in ensuring that your assembly is fully correct from a transparency perspective.  You can get the tool now in beta form here,…


New samples in Win 7 SDK: Direct2D and DirectWrite

The Windows 7 SDK comes with several components, including tools, documentation, headers and libraries, and samples. In this series of blogs, I’ll go through a number of sample that particularly target the new features in Windows 7. I’ll talk about how to build and run them and what the requirements are for each. Samples have…


Building web services on Windows with C++

Windows 7 and Windows Server 2008 R2 introduce the new framework for building web services in C++ code. Windows Web Services API (WWSAPI) supports the core set of protocols for SOAP-based web services. Developers can use WWSAPI in applications where they need to use native C/C++ code and they cannot take dependency on .Net Framework….


Development with Windows SDK & DirectX SDK when Visual Studio 2008 is installed

This article describes how to set VC directory paths in Visual Studio 2008 to ensure that the most recent version of rpcsal.h is found.  This article applies ONLY to users of DirectX SDK releases November 2008 and older.  When using DirectX SDK (March 2009) or newer, the DirectX SDK should appear above the Windows SDK…


Win SDK Hidden Gems: Function Discovery Browser (fdbrowser.exe)

The Function Discovery API, introduced in Vista, serves as an abstraction layer between applications and devices. This API allows applications to discover devices by function rather than lower level details such as bus or connection type. The Function Discovery Browser is a utility that displays information about devices in your local machine and connected via…


Windows 7 SDK Setup: common installation issues and fixes

This post describes common installation problems with the Windows SDK for Windows 7 and .NET Framework 3.5 SP1 (released August 2009), and workarounds for each issue. The Windows SDK for Windows 7 is available for download in both ISO and Web Setup format.  Web setup allows you to install a specific subset of the SDK…


Windows SDK Configuration Tool May Report an Error When OS Display Format is not English

This post describes a problem with the Windows SDK Configuration Tool, which is used to set the version of Windows SDK headers, libraries and tools you wish to build with in the Visual Studio or Windows SDK build environments.   Issue: When you launch the Windows SDK Configuration Tool on a system which has Visual Studio 2005…


Troubleshooting Windows 7 SDK Download/Install

This article applies to the Windows SDK for Windows 7 and .NET Framework 3.5 SP1.  Read these other posts to troubleshoot issues with the Windows SDK for Server 2008 and .NET Framework 3.5 or to troubleshoot issues with the Windows SDK Update for Vista and .NET Framework 3.0.   The Windows 7 SDK is available for…


Installing Windows SDK for Server 2008 (v6.1) after VS2008 SP1 causes conflicts with Security Update (KB971092)

Issue: If you install the Windows SDK for Windows Server 2008 and .NET Framework 3.5, on top of Visual Studio 2008 Service Pack1, some CRT files will revert  back to RTM version.  (See this post for more information about this issue) This can cause conflicts when you install patches or updates such as the Security…


Windows SDK for Server 2008 (v6.1) overwrites VS2008 SP1 CRT files

Issue: If you install the Windows SDK for Windows Server 2008 and .NET Framework 3.5, on top of any post-RTM Visual Studio update (such as a Service Pack or Feature Pack), some CRT  files will be reverted  back to RTM version.  Cause: This problem occurs when you install the Windows SDK for Windows Server 2008…