Using the Visual Studio 6.0 Driver Build Environment Ohio

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

Local Companies

Desktop Solutions
614-884-3714
3021 Bethel RD
Columbus, OH
Megasys Software Services
614-457-5544
1681 Old Henderson RD
Columbus, OH
Valent Software
614-457-9000
2000 Henderson RD
Columbus, OH
Ventech Solutions
614-751-1167
950 Taylor Station Rd
Columbus, OH
Technology Software Inc
614-442-8400
1505 Bethel RD
Columbus, OH
Teamwork Solutions
614-457-7100
1880 Mackenzie DR
Columbus, OH
Priority One Solutions
216-298-4020
2130 Superior Ave E
Cleveland, OH
Crystal Vision Software
419-472-0000
3601 W Alexis RD
Toledo, OH
F 1 Technologies
419-255-6366
2108 Glenwood Ave
Toledo, OH
ProTrain & True North Career Services Inc.
(513) 825-1555
650 Northland Boulevard
Cincinnati, OH

 

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

Desktop Solutions

614-884-3714
3021 Bethel RD
Columbus, OH

Regional Articles
- Using the Visual Studio 6.0 Driver Build Environment Akron OH
- Using the Visual Studio 6.0 Driver Build Environment Alliance OH
- Using the Visual Studio 6.0 Driver Build Environment Amelia OH
- Using the Visual Studio 6.0 Driver Build Environment Ashland OH
- Using the Visual Studio 6.0 Driver Build Environment Ashtabula OH
- Using the Visual Studio 6.0 Driver Build Environment Athens OH
- Using the Visual Studio 6.0 Driver Build Environment Avon Lake OH
- Using the Visual Studio 6.0 Driver Build Environment Barberton OH
- Using the Visual Studio 6.0 Driver Build Environment Batavia OH
- Using the Visual Studio 6.0 Driver Build Environment Bay Village OH
- Using the Visual Studio 6.0 Driver Build Environment Beachwood OH
- Using the Visual Studio 6.0 Driver Build Environment Bedford OH
- Using the Visual Studio 6.0 Driver Build Environment Bellefontaine OH
- Using the Visual Studio 6.0 Driver Build Environment Bowling Green OH
- Using the Visual Studio 6.0 Driver Build Environment Broadview Heights OH
- Using the Visual Studio 6.0 Driver Build Environment Brook Park OH
- Using the Visual Studio 6.0 Driver Build Environment Brunswick OH
- Using the Visual Studio 6.0 Driver Build Environment Bucyrus OH
- Using the Visual Studio 6.0 Driver Build Environment Canal Winchester OH
- Using the Visual Studio 6.0 Driver Build Environment Canfield OH
- Using the Visual Studio 6.0 Driver Build Environment Canton OH
- Using the Visual Studio 6.0 Driver Build Environment Celina OH
- Using the Visual Studio 6.0 Driver Build Environment Chagrin Falls OH
- Using the Visual Studio 6.0 Driver Build Environment Chardon OH
- Using the Visual Studio 6.0 Driver Build Environment Chillicothe OH
- Using the Visual Studio 6.0 Driver Build Environment Cincinnati OH
- Using the Visual Studio 6.0 Driver Build Environment Circleville OH
- Using the Visual Studio 6.0 Driver Build Environment Cleveland OH
- Using the Visual Studio 6.0 Driver Build Environment Columbus OH
- Using the Visual Studio 6.0 Driver Build Environment Conneaut OH
- Using the Visual Studio 6.0 Driver Build Environment Coshocton OH
- Using the Visual Studio 6.0 Driver Build Environment Cuyahoga Falls OH
- Using the Visual Studio 6.0 Driver Build Environment Dayton OH
- Using the Visual Studio 6.0 Driver Build Environment Defiance OH
- Using the Visual Studio 6.0 Driver Build Environment Delaware OH
- Using the Visual Studio 6.0 Driver Build Environment Dublin OH
- Using the Visual Studio 6.0 Driver Build Environment East Liverpool OH
- Using the Visual Studio 6.0 Driver Build Environment Eastlake OH
- Using the Visual Studio 6.0 Driver Build Environment Eaton OH
- Using the Visual Studio 6.0 Driver Build Environment Elyria OH
- Using the Visual Studio 6.0 Driver Build Environment Euclid OH
- Using the Visual Studio 6.0 Driver Build Environment Fairborn OH
- Using the Visual Studio 6.0 Driver Build Environment Fairfield OH
- Using the Visual Studio 6.0 Driver Build Environment Findlay OH
- Using the Visual Studio 6.0 Driver Build Environment Fostoria OH
- Using the Visual Studio 6.0 Driver Build Environment Franklin OH
- Using the Visual Studio 6.0 Driver Build Environment Fremont OH
- Using the Visual Studio 6.0 Driver Build Environment Galion OH
- Using the Visual Studio 6.0 Driver Build Environment Gallipolis OH
- Using the Visual Studio 6.0 Driver Build Environment Galloway OH
- Using the Visual Studio 6.0 Driver Build Environment Girard OH
- Using the Visual Studio 6.0 Driver Build Environment Grove City OH
- Using the Visual Studio 6.0 Driver Build Environment Hamilton OH
- Using the Visual Studio 6.0 Driver Build Environment Heath OH
- Using the Visual Studio 6.0 Driver Build Environment Hilliard OH
- Using the Visual Studio 6.0 Driver Build Environment Hubbard OH
- Using the Visual Studio 6.0 Driver Build Environment Ironton OH
- Using the Visual Studio 6.0 Driver Build Environment Kent OH
- Using the Visual Studio 6.0 Driver Build Environment Lakewood OH
- Using the Visual Studio 6.0 Driver Build Environment Lancaster OH
- Using the Visual Studio 6.0 Driver Build Environment Lebanon OH
- Using the Visual Studio 6.0 Driver Build Environment Lima OH
- Using the Visual Studio 6.0 Driver Build Environment Lorain OH
- Using the Visual Studio 6.0 Driver Build Environment Loveland OH
- Using the Visual Studio 6.0 Driver Build Environment Madison OH
- Using the Visual Studio 6.0 Driver Build Environment Maineville OH
- Using the Visual Studio 6.0 Driver Build Environment Mansfield OH
- Using the Visual Studio 6.0 Driver Build Environment Maple Heights OH
- Using the Visual Studio 6.0 Driver Build Environment Marion OH
- Using the Visual Studio 6.0 Driver Build Environment Marysville OH
- Using the Visual Studio 6.0 Driver Build Environment Mason OH
- Using the Visual Studio 6.0 Driver Build Environment Massillon OH
- Using the Visual Studio 6.0 Driver Build Environment Maumee OH
- Using the Visual Studio 6.0 Driver Build Environment Medina OH
- Using the Visual Studio 6.0 Driver Build Environment Mentor OH
- Using the Visual Studio 6.0 Driver Build Environment Miamisburg OH
- Using the Visual Studio 6.0 Driver Build Environment Middletown OH
- Using the Visual Studio 6.0 Driver Build Environment Milford OH
- Using the Visual Studio 6.0 Driver Build Environment Millersburg OH
- Using the Visual Studio 6.0 Driver Build Environment Mount Vernon OH
- Using the Visual Studio 6.0 Driver Build Environment Napoleon OH
- Using the Visual Studio 6.0 Driver Build Environment New Carlisle OH
- Using the Visual Studio 6.0 Driver Build Environment New Philadelphia OH
- Using the Visual Studio 6.0 Driver Build Environment Newark OH
- Using the Visual Studio 6.0 Driver Build Environment North Olmsted OH
- Using the Visual Studio 6.0 Driver Build Environment North Ridgeville OH
- Using the Visual Studio 6.0 Driver Build Environment North Royalton OH
- Using the Visual Studio 6.0 Driver Build Environment Olmsted Falls OH
- Using the Visual Studio 6.0 Driver Build Environment Oregon OH
- Using the Visual Studio 6.0 Driver Build Environment Oxford OH
- Using the Visual Studio 6.0 Driver Build Environment Painesville OH
- Using the Visual Studio 6.0 Driver Build Environment Pataskala OH
- Using the Visual Studio 6.0 Driver Build Environment Perrysburg OH
- Using the Visual Studio 6.0 Driver Build Environment Pickerington OH
- Using the Visual Studio 6.0 Driver Build Environment Piqua OH
- Using the Visual Studio 6.0 Driver Build Environment Portsmouth OH
- Using the Visual Studio 6.0 Driver Build Environment Ravenna OH
- Using the Visual Studio 6.0 Driver Build Environment Reynoldsburg OH
- Using the Visual Studio 6.0 Driver Build Environment Rocky River OH
- Using the Visual Studio 6.0 Driver Build Environment Salem OH
- Using the Visual Studio 6.0 Driver Build Environment Sandusky OH
- Using the Visual Studio 6.0 Driver Build Environment Sidney OH
- Using the Visual Studio 6.0 Driver Build Environment Solon OH
- Using the Visual Studio 6.0 Driver Build Environment Springboro OH
- Using the Visual Studio 6.0 Driver Build Environment Springfield OH
- Using the Visual Studio 6.0 Driver Build Environment Steubenville OH
- Using the Visual Studio 6.0 Driver Build Environment Stow OH
- Using the Visual Studio 6.0 Driver Build Environment Strongsville OH
- Using the Visual Studio 6.0 Driver Build Environment Sylvania OH
- Using the Visual Studio 6.0 Driver Build Environment Tallmadge OH
- Using the Visual Studio 6.0 Driver Build Environment Tiffin OH
- Using the Visual Studio 6.0 Driver Build Environment Tipp City OH
- Using the Visual Studio 6.0 Driver Build Environment Toledo OH
- Using the Visual Studio 6.0 Driver Build Environment Troy OH
- Using the Visual Studio 6.0 Driver Build Environment Twinsburg OH
- Using the Visual Studio 6.0 Driver Build Environment Van Wert OH
- Using the Visual Studio 6.0 Driver Build Environment Vandalia OH
- Using the Visual Studio 6.0 Driver Build Environment Vermilion OH
- Using the Visual Studio 6.0 Driver Build Environment Wadsworth OH
- Using the Visual Studio 6.0 Driver Build Environment Wapakoneta OH
- Using the Visual Studio 6.0 Driver Build Environment Warren OH
- Using the Visual Studio 6.0 Driver Build Environment Washington Court House OH
- Using the Visual Studio 6.0 Driver Build Environment West Chester OH
- Using the Visual Studio 6.0 Driver Build Environment Westerville OH
- Using the Visual Studio 6.0 Driver Build Environment Westlake OH
- Using the Visual Studio 6.0 Driver Build Environment Wickliffe OH
- Using the Visual Studio 6.0 Driver Build Environment Willoughby OH
- Using the Visual Studio 6.0 Driver Build Environment Wooster OH
- Using the Visual Studio 6.0 Driver Build Environment Xenia OH
- Using the Visual Studio 6.0 Driver Build Environment Youngstown OH
- Using the Visual Studio 6.0 Driver Build Environment Zanesville OH
Related Local Events
NAIAS 2010
Dates: 1/15/2010 - 1/15/2010
Location: COBO Convention Center
Detroit, OH
View Details

Forge Fair 2010
Dates: 4/20/2010 - 4/22/2010
Location: Cincinnati Convention Center
Cincinnati, OH
View Details

Earth Science Day
Dates: 10/17/2009 - 10/17/2009
Location: Cleveland Museum of Natural History
Cleveland, OH
View Details

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