Using the Visual Studio 6.0 Driver Build Environment Washington

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

Local Companies

ClearStar.net
360-892-0687
915 Broadway
Vancouver, WA
Free Data Recovery Software
001-991-1111 x111
lane
State, WA
Advanced Clinical Software
206-728-0313
2212 4th Ave
Seattle, WA
Benaroya Research Institute at Virginia Mason
(206) 341-1313
1201 9th Ave.
Seattle, WA
BioLife Solutions, Inc.
(425) 402-1400
3303 Monte Villa Pkwy, Ste. 310
Seattle, WA
Dendreon Corporation
(206) 256-4545
3005 1st Ave.
Seattle, WA
IMAGINiT Technologies, Inc.
(206) 682-8032
2101 4th Ave.,
Seattle, WA
Advanced Computer Solutions Ltd.
(206) 624-7854
500 Union St.,
Seattle, WA
Coolearth Technologies, Inc.
(206) 770-9061
226 S Orcas St.
Seattle, WA
Envision Telephony, Inc.
(206) 621-9384
520 Pike St.,
Seattle, WA

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

ClearStar.net

360-892-0687
915 Broadway
Vancouver, WA
www.clearstar.net

Regional Articles
- Using the Visual Studio 6.0 Driver Build Environment Anacortes WA
- Using the Visual Studio 6.0 Driver Build Environment Arlington WA
- Using the Visual Studio 6.0 Driver Build Environment Auburn WA
- Using the Visual Studio 6.0 Driver Build Environment Bainbridge Island WA
- Using the Visual Studio 6.0 Driver Build Environment Battle Ground WA
- Using the Visual Studio 6.0 Driver Build Environment Bellevue WA
- Using the Visual Studio 6.0 Driver Build Environment Bellingham WA
- Using the Visual Studio 6.0 Driver Build Environment Bothell WA
- Using the Visual Studio 6.0 Driver Build Environment Bremerton WA
- Using the Visual Studio 6.0 Driver Build Environment Buckley WA
- Using the Visual Studio 6.0 Driver Build Environment Camas WA
- Using the Visual Studio 6.0 Driver Build Environment Chehalis WA
- Using the Visual Studio 6.0 Driver Build Environment Cheney WA
- Using the Visual Studio 6.0 Driver Build Environment East Wenatchee WA
- Using the Visual Studio 6.0 Driver Build Environment Edmonds WA
- Using the Visual Studio 6.0 Driver Build Environment Ellensburg WA
- Using the Visual Studio 6.0 Driver Build Environment Enumclaw WA
- Using the Visual Studio 6.0 Driver Build Environment Everett WA
- Using the Visual Studio 6.0 Driver Build Environment Federal Way WA
- Using the Visual Studio 6.0 Driver Build Environment Gig Harbor WA
- Using the Visual Studio 6.0 Driver Build Environment Issaquah WA
- Using the Visual Studio 6.0 Driver Build Environment Kelso WA
- Using the Visual Studio 6.0 Driver Build Environment Kenmore WA
- Using the Visual Studio 6.0 Driver Build Environment Kennewick WA
- Using the Visual Studio 6.0 Driver Build Environment Kent WA
- Using the Visual Studio 6.0 Driver Build Environment Kirkland WA
- Using the Visual Studio 6.0 Driver Build Environment Lacey WA
- Using the Visual Studio 6.0 Driver Build Environment Lake Stevens WA
- Using the Visual Studio 6.0 Driver Build Environment Lakewood WA
- Using the Visual Studio 6.0 Driver Build Environment Longview WA
- Using the Visual Studio 6.0 Driver Build Environment Lynden WA
- Using the Visual Studio 6.0 Driver Build Environment Lynnwood WA
- Using the Visual Studio 6.0 Driver Build Environment Maple Valley WA
- Using the Visual Studio 6.0 Driver Build Environment Marysville WA
- Using the Visual Studio 6.0 Driver Build Environment Mercer Island WA
- Using the Visual Studio 6.0 Driver Build Environment Moses Lake WA
- Using the Visual Studio 6.0 Driver Build Environment Mount Vernon WA
- Using the Visual Studio 6.0 Driver Build Environment Mountlake Terrace WA
- Using the Visual Studio 6.0 Driver Build Environment Mukilteo WA
- Using the Visual Studio 6.0 Driver Build Environment Oak Harbor WA
- Using the Visual Studio 6.0 Driver Build Environment Olympia WA
- Using the Visual Studio 6.0 Driver Build Environment Pasco WA
- Using the Visual Studio 6.0 Driver Build Environment Port Angeles WA
- Using the Visual Studio 6.0 Driver Build Environment Port Orchard WA
- Using the Visual Studio 6.0 Driver Build Environment Poulsbo WA
- Using the Visual Studio 6.0 Driver Build Environment Pullman WA
- Using the Visual Studio 6.0 Driver Build Environment Puyallup WA
- Using the Visual Studio 6.0 Driver Build Environment Redmond WA
- Using the Visual Studio 6.0 Driver Build Environment Renton WA
- Using the Visual Studio 6.0 Driver Build Environment Richland WA
- Using the Visual Studio 6.0 Driver Build Environment Seattle WA
- Using the Visual Studio 6.0 Driver Build Environment Sedro Woolley WA
- Using the Visual Studio 6.0 Driver Build Environment Selah WA
- Using the Visual Studio 6.0 Driver Build Environment Sequim WA
- Using the Visual Studio 6.0 Driver Build Environment Shelton WA
- Using the Visual Studio 6.0 Driver Build Environment Silverdale WA
- Using the Visual Studio 6.0 Driver Build Environment Snohomish WA
- Using the Visual Studio 6.0 Driver Build Environment Spanaway WA
- Using the Visual Studio 6.0 Driver Build Environment Spokane WA
- Using the Visual Studio 6.0 Driver Build Environment Stanwood WA
- Using the Visual Studio 6.0 Driver Build Environment Sumner WA
- Using the Visual Studio 6.0 Driver Build Environment Tacoma WA
- Using the Visual Studio 6.0 Driver Build Environment University Place WA
- Using the Visual Studio 6.0 Driver Build Environment Vancouver WA
- Using the Visual Studio 6.0 Driver Build Environment Washougal WA
- Using the Visual Studio 6.0 Driver Build Environment Wenatchee WA
- Using the Visual Studio 6.0 Driver Build Environment Woodinville WA
- Using the Visual Studio 6.0 Driver Build Environment Yakima WA
- Using the Visual Studio 6.0 Driver Build Environment Yelm WA
Related Local Events
Leads Group: Wired
Dates: 11/26/2009 - 11/26/2009
Location: Mud Bay Coffee
Olympia, WA
View Details

Leads Group: Wired
Dates: 12/3/2009 - 12/3/2009
Location: Mud Bay Coffee
Olympia, WA
View Details

Leads Group: Wired
Dates: 12/13/2009 - 12/13/2009
Location: Mud Bay Coffee
Olympia, WA
View Details

Leads Group: Wired
Dates: 12/24/2009 - 12/24/2009
Location: Mud Bay Coffee
Olympia, WA
View Details

Leads Group: Wired
Dates: 12/31/2009 - 12/31/2009
Location: Mud Bay Coffee
Olympia, WA
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