none
Want to develop windows kernel driver using Visual Studio RRS feed

  • Question

  • Hi,

    I want to develop windows kernel driver using Visual Stusio 2010 how do I achive this? Basically setting properties including WDK 7 kit.

    I am new to this field, any pointer regarding this will be of great help.

    Thanks, Namrata

    Tuesday, June 11, 2013 2:20 PM

Answers

  • Go to http://www.hollistech.com/ and under resources you will find DDKBuild and the instructions on how to use it to invoke the WDK's Build environment from Visual Studio.  Trying to match the properties of the WDK and getting everything right is a very bad idea that has caused a lot of driver developers a ton of grief.  So either use DDKBuild or upgrate to VS2012 and use the Win8 WDK.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Tuesday, June 11, 2013 2:24 PM
  • Building drivers with VS2010 is officially unsupported; however, that doesn't mean it cannot be done ;-)

    I've been building my drivers with VS since the mid-90s. You have two choices, modify the compiler and linker setting property pages (which you can get from a log file when using the old BUILD tool) or using Mark Roddy's amazing batch file, as Don mentioned. Personally, I preferred the more complete integration with VS, so I added the compiler and linker settings to VS's property pages; however, using Mark's batch file is LOTS easier.

     -Brian


    Azius Developer Training www.azius.com Windows device driver, internals, security, & forensics training and consulting.



    Tuesday, June 11, 2013 5:33 PM
    Moderator

All replies

  • Go to http://www.hollistech.com/ and under resources you will find DDKBuild and the instructions on how to use it to invoke the WDK's Build environment from Visual Studio.  Trying to match the properties of the WDK and getting everything right is a very bad idea that has caused a lot of driver developers a ton of grief.  So either use DDKBuild or upgrate to VS2012 and use the Win8 WDK.


    Don Burn Windows Filesystem and Driver Consulting Website: http://www.windrvr.com Blog: http://msmvps.com/blogs/WinDrvr

    Tuesday, June 11, 2013 2:24 PM
  • Building drivers with VS2010 is officially unsupported; however, that doesn't mean it cannot be done ;-)

    I've been building my drivers with VS since the mid-90s. You have two choices, modify the compiler and linker setting property pages (which you can get from a log file when using the old BUILD tool) or using Mark Roddy's amazing batch file, as Don mentioned. Personally, I preferred the more complete integration with VS, so I added the compiler and linker settings to VS's property pages; however, using Mark's batch file is LOTS easier.

     -Brian


    Azius Developer Training www.azius.com Windows device driver, internals, security, & forensics training and consulting.



    Tuesday, June 11, 2013 5:33 PM
    Moderator