Windows SDK Troubleshooting: my solution file won’t open

There’s lots of great new technology around and if you recently upgraded to Visual Studio 2008 you may have noticed a problem.  Even with Visual Studio 2008 installed, you may have found that some of your Visual Studio solution files (.sln) don’t open when you double-click on them.  Instead, nothing happens.  Is it a problem…

1

StickyNotes Sample on MSDN Code Gallery

Pablo Galiano has created a wonderful sample that provides StickyNotes capabilities to Visual Studio 2008.  With StickyNotes and Visual Studio 2008, you can save custom notes associated with a particular project for reminders as bugs to fix, features to add, areas to test, etc.  Pablo has posted his new sample to the new MSDN Code…

1

MSDN Code Gallery & the Windows SDK

 The MSDN Code Gallery was launched today by Soma Somasegar. The developer community has made “more samples!” one of its top requests, and DevDiv is delivering.  This new developer portal is a quick place to get (and share) code snippets, samples, sample applications, and other great resources.  Lots of cool features are already live – pages that describe samples,…

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

Troubleshooting error C1083: Cannot open include file: ‘atlbase.h’

If you’re building with the Windows SDK build environment or with a Visual Studio Express version and seeing error C1083: cannot open include file: ‘altbase.h’ (or winres.h, afxwin.h, afxres.h, atlconv.h) you probably need to buy and install a non-Express version of Visual Studio to successfully build your project. These are ATL and MFC files, which…

2

Troubleshooting: error PRJ0003: Error spawning ‘bscmake.exe’

Are you seeing error PRJ0003 when building with Visual Studio Express Editions or the Windows SDK build environment?  You probably need a non-Express version of Visual Studio’s Visual C++ development environment to successfully build your project.  What’s BSCMAKE.EXE?  The Microsoft Browse Information Maintenance Utility (BSCMAKE.EXE) builds a browse information file (.bsc) from .sbr files created…

2

Sample missing msime.h?

Some Windows SDK samples fail to build because the file msime.h is not found.  Msime.h is not shipped with the Windows SDK.  Msime.h is for use by developers when customizing applications for the 2007 Microsoft Office System.  Affected samples:winui\Input\tsf\TSFApps\ImmPad-Interimwinui\Input\tsf\TSFApps\ImmPad-Level3-Step3winui\Input\tsf\TSFApps\TsfPad-Hybrid Workaround: download msime.h and copy to the Windows SDK \include directory.  Download the file from here  http://www.microsoft.com/downloads/details.aspx?FamilyID=FE8A149B-D9ED-45B1-9D99-61BB462AA4A3&displaylang=en

1

Some SDK samples require VS2005, not VS2008

Some unmanaged samples rely on mspbase.h, mtype.h, or mfc80ud.lib.  These files are included with Visual Studio 2005 and do not ship with Visual Studio 2008.  Require Mspbase.h:netds\Tapi\Tapi3\Cpp\Msp\MSPBasenetds\Tapi\Tapi3\Cpp\Msp\Samplenetds\Tapi\Tapi3\Cpp\pluggable Require Mtype.h:netds\Tapi\Tapi3\Cpp\tapirecv netds\Tapi\Tapi3\Cpp\tapisend Require mfc80ud.lib Sysmgmt\Wmi\VC\AdvClient

1

How to: Add 64-bit support to .vcproj files

Have you found a great sample in the Windows SDK but wish it could target 64-bit platforms?  Not all of our samples have 64-bit support, but it’s quick and easy to configure the sample yourself using the project configurations available in the Visual Studio Integrated Development Environment (IDE). To develop 64-bit applications you must install…

2

SDK Workaround: Setupvroot.bat in WCF samples fails on Vista if…

The Setupvroot.bat setup script for WCF samples fails on Windows Vista if the NetMsmqActivator service is enabled and Message Queuing (MSMQ) is not installed.   This workaround applies to:     ·         The prerelease Windows SDK for Windows Server 2008 and .Net Framework 3.5 (RC0), September, 2007 ·         The prerelease Windows SDK for Windows Server…

1