Yesterday I took a WDM driver I’ve been developing and built it using
the Windows 2000, Windows XP, and Windows .NET DDK build environments of
the .NET RC2 DDK (both checked and free build for each) to be sure it
builds in all configurations. It built fine w/o any errors or warnings
in all cases.
Then I built it once more using the checked and free build environments
from the Windows 2000 DDK. This time I got a compiler warning in both
builds (something stupid).
Thus, it’s clear that there are some differences between the Windows
2000 build environments you get with Windows .NET RC2 DDK vs. what you
get with the original Windows 2000 DDK. Before I spend any time digging
into what’s different, has anybody else done this exercise?
Does the Windows 2000 build environment in the .NET RC2 DDK use the .NET
compiler bundled with the DDK, or does it use the Visual Studio compiler
installed on the machine like the Windows 2000 DDK build environments?
If the driver I am developing is targeted to ultimately be a single
binary that can run on Windows 2000, XP, Server 2003, and, hopefully on
Longhorn, when I am done with development and debug, which build
environment from which DDK should I use to build the final product?
Note that there is nothing in the driver that is OS version dependent,
and all of the variants built in the build environments for previous OS
versions have been tested and run fine on the later OS versions
(however, no attempt was made to test the other way around, that is, the
version built in the .NET build environment was not tested on Win2K).
I’m assuming it’s a choice between using the original Win2K DDK, or the
Win2K build environment in the .NET DDK, since the driver is targeted to
run on everything from Win2K forward. FYI, I’m assuming the final
Windows Server 2003 DDK will be out by the time this project is complete
(there is a lot of other non-driver related work still to be done), so
assuming it still includes a Win2K build environment, that’s also an
option.
Comments, thoughts, opinions, suggestions, rants, pontifications,
etc…?
- Jay
Jay Talbott
Principal Consulting Engineer
SysPro Consulting, LLC
3519 E. South Fork Drive
Suite 201
Phoenix, AZ 85044
(480) 704-8045
xxxxx@sysproconsulting.com
http://www.sysproconsulting.com