I figured I would answer my own questions:
1… In normal work do you have more than one version of the WDK in use?
If so why?
Right now I have clients who use differing version of the WDK, so I have to
match their environments. This includes code that is shared from project to
project of these clients. In the future I expect this more, since my
clients still want Windows 2000 and the Windows 7 WDK will not build for
that platform.
2… When the WDK beta comes out, do you try it with current projects? If
so do you try to use the same copy of the sources for both, or clone one
specifically for the beta?
I try to use the same project. This is a pain, since I do not accept
PreFast errors and with the addition of more and more types for
__drv_functionClass annotations there is no way to make the same source file
clean in all environments without some kludgey conditional code.
3… Have you encountered problems with using more than one WDK? Would
you like to have a way to conditionalize the build files or the driver
source for differing WDK versions?
Yes over the years I have had to create a number of workarounds. Any yes I
would like to see a way to determine the version of the WDK I am invoking
for the project.
–
Don Burn (MVP, Windows DDK)
Windows Filesystem and Driver Consulting
Website: http://www.windrvr.com
Blog: http://msmvps.com/blogs/WinDrvr
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4148 (20090611) __________
The message was checked by ESET NOD32 Antivirus.