简体   繁体   中英

IDE for Windows Driver Development

I am planning to write a Windows(XP, Vista and 7) Virtual printer driver using C/C++. So I wanted to know which is the best IDE out there which I can use for this. From what I have read Windows Driver Kit 8(WDK-8) is much more integrated with the new Visual Studio 2012 but drivers for windows XP are not supported with WDK-8. So I was hoping if somebody could suggest me about which version would work out best for me.

Since Visual Studio is pretty expensive, so I don't want to buy it unless it has some advantages over using Eclipse in my case.

Also, if I need to use Visual Studio, then which version of visual studio would suffice for a single developer like me: Professional, Premium or Ultimate ?

before VS 2012, the Visual Studio has no advantages than Eclipse. Almost all driver is built in command line mode, and use the windbg as debugger, so the VS is just an editor.

in the VS 2012, it build a template to WDF driver, it is easy to create a driver from template. But I don't think it is a reason to by the expensive VS.

Take a look at DDKBuild.

http://www.hollistech.com/Resources/ddkbuild/ddkbuild.htm

I use Visual Studio 2012 in combination with DDKBuild to compile drivers - when errors show up I can see them in the Error List window and can get taken straight to the right line in the driver source...saves a bunch of time!

I've set up various SolutionConfigurations for different driver options that I want eg running a PreFast pass, compiling as 32bit, 64bit, for different OS targets, etc - makes it super easy to switch between Release and Debug, or the static analysis tools.

Basically you create a new Visual Studio Makefile Project in Visual studio, then set the NMAKE|Build Command Line to something like this:

ddkbuild -WIN7 -prefast checked . -cZ
or
ddkbuild -WIN7XP checked . -cZ
or
ddkbuild -WIN7XP free . -cZ
etc

I haven't used it myself, but for a more powerful way to leverage Visual Studio to do driver development, take a look at VisualDDK

http://visualddk.sysprogs.org/

Visual Studio 2013 Community Edition是免费的,可以用作驱动程序的IDE

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM