How to build DDK source using vs2k5?

August 22nd, 2009 by aimslife Leave a reply »

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.

  1. Name: WINDDK
    Value: C:\WinDDK\
  2. Name: WLHBASE
    Value: C:\WinDDK\6001.18002\
  3. Edit “Path” variable and add “%WINDDK%;” string at the end of “Path” variable.
  4. Copy “ddkbuild.bat” file on “C:\WinDDK\” location.

Open vs2k5 environment using “devenv” command. Create “Makefile based project” and set configuration according to image.

ddkbuild_3.14_configuration_stime by you.

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

ddkbuild_3.14_configuration by you.

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.

Advertisement

2 comments

  1. farhan says:

    can you explain first 3 points. i dont understand them….
    regards,
    farhan

  2. aimslife says:

    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.

Leave a Reply