I installed what I think is the latest DDK (WDK 6000). Then I select the build environment for XP (I tried both free and checked build environments). If I try to compile any of the samples in the srv/general directory ( tried sioctl and pcidrv) I get the following error:
Warning : The sample “c:\winddk\6000\src\general\pcidrv\sys\hw” is not valid for
the current OS target.
Although the message says it’s a warning nothing compiles. Why don’t the samples compile?
Wayne King
xxxxx@orbitalnetwork.com wrote:
I installed what I think is the latest DDK (WDK 6000). Then I select the build environment for XP (I tried both free and checked build environments). If I try to compile any of the samples in the srv/general directory ( tried sioctl and pcidrv) I get the following error:
Warning : The sample “c:\winddk\6000\src\general\pcidrv\sys\hw” is not valid for
the current OS target.
Although the message says it’s a warning nothing compiles. Why don’t the samples compile?
Because that sample isn’t supported for XP targets – only for Vista
targets. That is, if you select a Vista build environment, it will compile.
Why? I don’t have a clue. I suspect it was a mistake – a leftover
from some overzealous script, maybe. You can get around this easily.
The version check is in “makefile”. Just delete every line except the
one that !includes makefile.def, and it builds quite happily in the XP
environments.
–
Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.