does anyone have an article how to do this ?
thanks
does anyone have an article how to do this ?
thanks
Down load the DDk and start there: http://www.microsoft.com/whdc/devtools/wdk/default.mspx
In VS create a makefile project. Add your sources, headers, makefile and sourcefile. Open project properties->Configuration properties->NMake->Build Command Line and write:
call $(WINDDK)\bin\setenv.bat $(WINDDK) fre wnet cd /d $(ProjectDir) build.exe -I
Now you can build from VS. The advantage of the makefile project: it provides you with as many configurations as you need (w2k, wxp, wnet, wlh and etc) and you can build from the DDK command line.
P.S. "fre wnet" - is a sample configuration, use what is required for your project. It is good to have both fre and chk configurations. WINDDK - enviroment variable with a path to the DDK root.
If you want tu use ddk build and windows DDK use http://www.hollistech.com/Resources/ddkbuild/ddkbuild.htm manual, it is preaty good (I think most of it works still) that should have you going.
Download and install VisualDDK and you'll be able to create driver projects and debug drivers directly from Visual Studio.
The ddkbuild from OSR-Online is a nice alternative ddkbuild download link.