Using the Visual Studio 6.0 Driver Build Environment Wisconsin

This article explores how to use the standard Visual Studio environment while developing device drivers.

Local Companies

Practice Management Solutions Inc
414-352-8160
7571 N Teutonia Ave
Milwaukee, WI
codeeo
608 305 1060
1360 Regent Street #155
Madison, WI
Gates Business Solutions
608-661-0810
2810 CrossRoads DR
Madison, WI
Madison Software Inc
608-833-5410
6666 Odana Rd
Madison, WI
Electroniclaim
262-240-9700
11357 N. Port Washington Rd
Mequon, WI
KMSpecialties
414-751-4009
7434-3 Halverson Rd
Three Lakes, WI
Image Processing Software Inc
608-233-5033
6409 Appalachian Way
Madison, WI
Gbl Software LLC
414-760-9029
6417 W Hustis St
Milwaukee, WI
Access Technologies International
414-289-3121
840 N Old World 3rd St
Milwaukee, WI
Guild Software Inc
414-259-0959
10437 W Innovation DR
Milwaukee, WI

provided by: 
Originally published at Internet.com


I've already borrowed so much information from CodeGuru that I've started getting frustrated that I haven't contributed anything myself to the site. Therefore, I respectfully offer this articles to my fellow programmers.

Some time ago, I had to write an NT 4.0 device driver. Since I was already used to the comfort of Visual Studio 6, it was hard to me to fall back to the free build and checked build environments, provided by the DDK. Especially I missed the browser possibilities that Visual Studio provides.

So, I started around digging into the DDK build environment to find out how it works, and if I could extend the environment to be usable within the Visual Studio. My primary goal was to keep the existing environment intact, and furthermore, I want to use this environment within VS 6.

The solution was simpler than I expected. I only need to set up some additional files.

_build.bat

. This *.bat is directly called by VS 6 and has the same command parameters as the DDK setenv.bat. This *.bat will clean up some existing files ( i.e. build.dat which I do wish to rebuild every time ), saves the actual directory ( see PrCHDIR ) and calls the original setenv.bat from the DDK. The _build.bat calls bscmake.exe at the end. This enables me to browse to the source code afterwards. The _build.bat is not project-depended.

PrCDIR.exe

On starting setenv.bat, one is move into the DDK root directory. And this not so good if you want to automate the environment. The small PrCHDIR program prints the actual directory and drive letter. The _build.bat catches it output and stores it into a @temp.bat. Once the setenv.bat has been called, the @temp.bat puts you back into your proper build directory.

I386mk.inc

The DDK build environment use this file which resides in the %DDKROOT%\Inc directory. If you copy this file into your proper build directory, the Build will use this file instead. I extended this file with following lines: !IF "$(ASM_LST)"=="YES" DBGFLAGS=$(DBGFLAGS) /FAcs /Fa$(TARGETPATH)\$(TARGET_DIRECTORY)\$(TARGETNAME).asm !ENDIF !IF "$(GEN_SBR)"=="YES" DBGFLAGS=$(DBGFLAGS) /FR$(TARGETPATH)\$(TARGET_DIRECTORY)\$(TARGETNAME).sbr !END ...

Read article at Internet.com site

Featured Local Company

Practice Management Solutions Inc

414-352-8160
7571 N Teutonia Ave
Milwaukee, WI

Regional Articles
- Using the Visual Studio 6.0 Driver Build Environment Appleton WI
- Using the Visual Studio 6.0 Driver Build Environment Baraboo WI
- Using the Visual Studio 6.0 Driver Build Environment Beaver Dam WI
- Using the Visual Studio 6.0 Driver Build Environment Beloit WI
- Using the Visual Studio 6.0 Driver Build Environment Brookfield WI
- Using the Visual Studio 6.0 Driver Build Environment Burlington WI
- Using the Visual Studio 6.0 Driver Build Environment Cedarburg WI
- Using the Visual Studio 6.0 Driver Build Environment Chippewa Falls WI
- Using the Visual Studio 6.0 Driver Build Environment Cudahy WI
- Using the Visual Studio 6.0 Driver Build Environment De Pere WI
- Using the Visual Studio 6.0 Driver Build Environment Delavan WI
- Using the Visual Studio 6.0 Driver Build Environment Eau Claire WI
- Using the Visual Studio 6.0 Driver Build Environment Elkhorn WI
- Using the Visual Studio 6.0 Driver Build Environment Fond Du Lac WI
- Using the Visual Studio 6.0 Driver Build Environment Fort Atkinson WI
- Using the Visual Studio 6.0 Driver Build Environment Franklin WI
- Using the Visual Studio 6.0 Driver Build Environment Green Bay WI
- Using the Visual Studio 6.0 Driver Build Environment Hartland WI
- Using the Visual Studio 6.0 Driver Build Environment Janesville WI
- Using the Visual Studio 6.0 Driver Build Environment Kaukauna WI
- Using the Visual Studio 6.0 Driver Build Environment Kenosha WI
- Using the Visual Studio 6.0 Driver Build Environment La Crosse WI
- Using the Visual Studio 6.0 Driver Build Environment Lake Geneva WI
- Using the Visual Studio 6.0 Driver Build Environment Madison WI
- Using the Visual Studio 6.0 Driver Build Environment Manitowoc WI
- Using the Visual Studio 6.0 Driver Build Environment Marinette WI
- Using the Visual Studio 6.0 Driver Build Environment Marshfield WI
- Using the Visual Studio 6.0 Driver Build Environment Menasha WI
- Using the Visual Studio 6.0 Driver Build Environment Menomonee Falls WI
- Using the Visual Studio 6.0 Driver Build Environment Menomonie WI
- Using the Visual Studio 6.0 Driver Build Environment Merrill WI
- Using the Visual Studio 6.0 Driver Build Environment Middleton WI
- Using the Visual Studio 6.0 Driver Build Environment Milwaukee WI
- Using the Visual Studio 6.0 Driver Build Environment Mosinee WI
- Using the Visual Studio 6.0 Driver Build Environment Mukwonago WI
- Using the Visual Studio 6.0 Driver Build Environment Muskego WI
- Using the Visual Studio 6.0 Driver Build Environment Neenah WI
- Using the Visual Studio 6.0 Driver Build Environment New Berlin WI
- Using the Visual Studio 6.0 Driver Build Environment Oak Creek WI
- Using the Visual Studio 6.0 Driver Build Environment Oconomowoc WI
- Using the Visual Studio 6.0 Driver Build Environment Onalaska WI
- Using the Visual Studio 6.0 Driver Build Environment Oshkosh WI
- Using the Visual Studio 6.0 Driver Build Environment Pewaukee WI
- Using the Visual Studio 6.0 Driver Build Environment Racine WI
- Using the Visual Studio 6.0 Driver Build Environment Rhinelander WI
- Using the Visual Studio 6.0 Driver Build Environment Rice Lake WI
- Using the Visual Studio 6.0 Driver Build Environment River Falls WI
- Using the Visual Studio 6.0 Driver Build Environment Schofield WI
- Using the Visual Studio 6.0 Driver Build Environment Shawano WI
- Using the Visual Studio 6.0 Driver Build Environment Sheboygan WI
- Using the Visual Studio 6.0 Driver Build Environment South Milwaukee WI
- Using the Visual Studio 6.0 Driver Build Environment Stevens Point WI
- Using the Visual Studio 6.0 Driver Build Environment Sturgeon Bay WI
- Using the Visual Studio 6.0 Driver Build Environment Sun Prairie WI
- Using the Visual Studio 6.0 Driver Build Environment Superior WI
- Using the Visual Studio 6.0 Driver Build Environment Thiensville WI
- Using the Visual Studio 6.0 Driver Build Environment Two Rivers WI
- Using the Visual Studio 6.0 Driver Build Environment Watertown WI
- Using the Visual Studio 6.0 Driver Build Environment Waukesha WI
- Using the Visual Studio 6.0 Driver Build Environment Waupaca WI
- Using the Visual Studio 6.0 Driver Build Environment Wausau WI
- Using the Visual Studio 6.0 Driver Build Environment West Bend WI
- Using the Visual Studio 6.0 Driver Build Environment Whitewater WI
- Using the Visual Studio 6.0 Driver Build Environment Wisconsin Rapids WI

Rss   Delicious   Digg   Add To My Yahoo   Add To My Google   Bookmark   Search Plugin

Topics:
Architecture & Design Languages & Tools Project Management Web Services
Database Microsoft & .NET Security Wireless
Java Open Source Techniques XML