Special thanks to Hollis Technology Solution to write script for build DDK source with vs2k5.
[link] http://www.hollistech.com/Resources/ddkbuild/ddkbuild3_14.zip
Following Environment variables need to use DDKBuild v3.14 script with vs2k5. I am using WDK 6001.18002. Don’t open vs2k5 before do following configuration.
- Name: WINDDK
Value: C:\WinDDK\ - Name: WLHBASE
Value: C:\WinDDK\6001.18002\ - Edit “Path” variable and add “%WINDDK%;” string at the end of “Path” variable.
- Copy “ddkbuild.bat” file on “C:\WinDDK\” location.
Open vs2k5 environment using “devenv” command. Create “Makefile based project” and set configuration according to image.

You can set build commands after create project. All you need to set build command according to given image.

Build Command Line: ddkbuild –WLHXP checked .
Rebuild Command Line: ddkbuild –WLHXP checked . –ceZ
I have configured WinDDK with DDKBuild_3.14 for WindowsXP. Please change configurations parameters according to your Microsoft Operating System.
can you explain first 3 points. i dont understand them….
regards,
farhan
Farhan,
Following configuration you will do by creating System Environment Variable.
1. Name: WINDDK
Value: C:\WinDDK\
2. Name: WLHBASE
Value: C:\WinDDK\6001.18002\
3. Edit System Environment Variable “Path” and add “%WINDDK%;” string at the end of it.
4. Copy “ddkbuild.bat” file on “C:\WinDDK\” location.
How to access Environment Variable Window?
1. Go to “Control Panel”.
2. Click on “Advanced” tab.
3. Press “Environment Variable” button.
4. Perform any action (Add, Edit or Delete) according to need in “System Variable” box.
Please feel free to contact me.