Building the UMDF 1.0 (beta) samples

I'm sorry it's taken me so long to write about this.  The
last week or two have been pretty hectic as we try to lockdown for Vista. 
But we still want people to download the UMDF 1.0 beta, and here are the
instructions for that.

The first step, of course, is to install the WDK.  You
can either use the Beta 2 WDK or the 5456 version which was recently published
on the beta site.  If you don't have either of these installed yet, you can
my earlier blog entry on

installing the WDK.

Next you need to download the UMDF beta bits and install those
on your development machine as well.  Go to the connect.microsoft.com site
for the beta & look under downloads.  You will see several items but you
want to download and run either "UMDFx86" or "UMDF64" depending on the
architecture of your development machine (not your test machine). 
Download and install the MSI and you'll be ready to go.

To actually build one of the samples you'll want to start a
"Windows Vista and Windows Server Longhorn" build environment from the WDK. 
This is burried under "Windows Driver Kits" on your start menu.  Be sure
you either use the 5483 or 5456 WDK ... if you have Beta 1 or the February CTP
kit still installed those may not work.

Once you've started your build window, you need to run a
script to tell it to use the headers & all from the MSI you just installed
rather than the ones in the kit.  Do the following:

 
    cd \WinDDK\WDF\UMDF10_xp
    set_umdf_env.cmd
    cd src\umdf
    build -cZ

And you've just built the UMDF 1.0 samples.

Next time i'll walk through installing the echo sample driver.