I’m trying to build a Win2k driver under the Win2k checked build
environment of the XP DDK. Even though it is a Win2k build environment, it
seems that -version:5.1 and -osversion:5.1 are still passed to the linker,
making it an XP binary and Win2k (seemingly) won’t load this driver. I’ve
looked at the makefile.def shipped with the XP DDK, and it seems that
-version and -osversion are hard coded to 5.1 in line 2198, and that is the
only place in the Makefile where -version is mentioned. I also
notice that WINVER and _WIN32_WINNT are set to 0x0501 even when I compile
with the 2k build environment. I’m just wondering what is causing the 2k
build environment to not behave as I have expected?
Thanks,
sean
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com
wrote in message news:xxxxx@ntdev…
>
> I’m trying to build a Win2k driver under the Win2k checked build …
There are a couple of issues here.
1) makefile.def creates executables using the compiler and linker provided
as part of the XP or .NET DDK. These executables should load and work
without difficulty on Win2K. If you’re having a problem, there’s something
else going on… Please let us know what specific issue you’re seeing, and
we’ll all see if we can help.
2) WINVER is indeed set incorrectly in the XP and .NET Beta 3 DDK’s Win2K
build environment (see http://www.osr.com/hector_notes.shtml). This
shouldn’t cause a problem, to the best of my knowledge, unless you rely on
this define for conditional compilation of your driver, or one of your
include files does. It doesn’t seem like the wrong definition causes any
problems with the public Win2K includes. Of course, YMMV.
Peter
OSR
—
You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com