Using the Visual Studio 6.0 Driver Build Environment Pennsylvania

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

Local Companies

Global Business Solutions
412- 630-9111
109 Pineridge RD
Pittsburgh, PA
Howell & Co. Inc
(814) 368-3513
13 Main Street
Bradford,, PA
SuperUser Technologies, Inc.
(814) 362-5945
80 E. Corydon Street
Bradford,, PA
Simply Software, Inc
(814) 362-5512
P.O. Box 78
Bradford,, PA
Automation Consulting Solutions
412- 318-8102
125 Hillvue Ln
Pittsburgh, PA
Janis Technologies, Inc.
717-737-2935
2157 Market St.
Camp Hill, PA
DIVIUM, LLC
724-858-1422
645 E Pittsburgh St.
Greensburgh, PA
Cima Software
412- 573-0124
4606 Allegheny Center Mall
Pittsburgh, PA
Shared Software Solutions
412- 281-0790
812 Liberty Ave
Pittsburgh, PA
Duerr Business Solutions Inc
412- 854-5876
71 Mcmurray Rd
Pittsburgh, PA

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

Global Business Solutions

412- 630-9111
109 Pineridge RD
Pittsburgh, PA

Related Articles
- MSBuild Features for Visual C++ Pennsylvania
MSBuild is the build platform that Microsoft is using across all developer and related tools moving forward. Visual C++ is the last major compiler offering from Microsoft to move onto the MSBuild platform, with the Visual C++ 2010 release using MSBuild as its native project format. Explore the MSBuild basics from a C++ perspective, and see how it can improve your build process.
- Configuring a ClickOnce Deployment Pennsylvania
- Resizable Docking Window 2 Pennsylvania
- Automating Repetitive Tasks in Visual Studio Pennsylvania
- Interacting with .NET WinForms, Part 1 Pennsylvania
- Custom MSBuild Task Development with Visual C++ Pennsylvania
- An Active Server Pages Tutorial, Part 1 Pennsylvania
- Visual Basic .NET as a Fully Object-Oriented Language Pennsylvania
- Visual Basic .NET Attributes Pennsylvania
- C# Tips and Tricks Pennsylvania
Regional Articles
- Using the Visual Studio 6.0 Driver Build Environment Aliquippa PA
- Using the Visual Studio 6.0 Driver Build Environment Allentown PA
- Using the Visual Studio 6.0 Driver Build Environment Allison Park PA
- Using the Visual Studio 6.0 Driver Build Environment Altoona PA
- Using the Visual Studio 6.0 Driver Build Environment Ambler PA
- Using the Visual Studio 6.0 Driver Build Environment Apollo PA
- Using the Visual Studio 6.0 Driver Build Environment Aston PA
- Using the Visual Studio 6.0 Driver Build Environment Beaver Falls PA
- Using the Visual Studio 6.0 Driver Build Environment Beaver PA
- Using the Visual Studio 6.0 Driver Build Environment Belle Vernon PA
- Using the Visual Studio 6.0 Driver Build Environment Bellefonte PA
- Using the Visual Studio 6.0 Driver Build Environment Bensalem PA
- Using the Visual Studio 6.0 Driver Build Environment Berwick PA
- Using the Visual Studio 6.0 Driver Build Environment Bethel Park PA
- Using the Visual Studio 6.0 Driver Build Environment Bethlehem PA
- Using the Visual Studio 6.0 Driver Build Environment Birdsboro PA
- Using the Visual Studio 6.0 Driver Build Environment Bloomsburg PA
- Using the Visual Studio 6.0 Driver Build Environment Blue Bell PA
- Using the Visual Studio 6.0 Driver Build Environment Boyertown PA
- Using the Visual Studio 6.0 Driver Build Environment Bridgeville PA
- Using the Visual Studio 6.0 Driver Build Environment Broomall PA
- Using the Visual Studio 6.0 Driver Build Environment Bryn Mawr PA
- Using the Visual Studio 6.0 Driver Build Environment Butler PA
- Using the Visual Studio 6.0 Driver Build Environment Camp Hill PA
- Using the Visual Studio 6.0 Driver Build Environment Canonsburg PA
- Using the Visual Studio 6.0 Driver Build Environment Carlisle PA
- Using the Visual Studio 6.0 Driver Build Environment Carnegie PA
- Using the Visual Studio 6.0 Driver Build Environment Chalfont PA
- Using the Visual Studio 6.0 Driver Build Environment Chambersburg PA
- Using the Visual Studio 6.0 Driver Build Environment Chester PA
- Using the Visual Studio 6.0 Driver Build Environment Clairton PA
- Using the Visual Studio 6.0 Driver Build Environment Clarks Summit PA
- Using the Visual Studio 6.0 Driver Build Environment Clifton Heights PA
- Using the Visual Studio 6.0 Driver Build Environment Coatesville PA
- Using the Visual Studio 6.0 Driver Build Environment Collegeville PA
- Using the Visual Studio 6.0 Driver Build Environment Connellsville PA
- Using the Visual Studio 6.0 Driver Build Environment Conshohocken PA
- Using the Visual Studio 6.0 Driver Build Environment Coraopolis PA
- Using the Visual Studio 6.0 Driver Build Environment Cranberry Twp PA
- Using the Visual Studio 6.0 Driver Build Environment Darby PA
- Using the Visual Studio 6.0 Driver Build Environment Dillsburg PA
- Using the Visual Studio 6.0 Driver Build Environment Downingtown PA
- Using the Visual Studio 6.0 Driver Build Environment Doylestown PA
- Using the Visual Studio 6.0 Driver Build Environment Drexel Hill PA
- Using the Visual Studio 6.0 Driver Build Environment DuBois PA
- Using the Visual Studio 6.0 Driver Build Environment East Stroudsburg PA
- Using the Visual Studio 6.0 Driver Build Environment Easton PA
- Using the Visual Studio 6.0 Driver Build Environment Elizabethtown PA
- Using the Visual Studio 6.0 Driver Build Environment Elkins Park PA
- Using the Visual Studio 6.0 Driver Build Environment Ellwood City PA
- Using the Visual Studio 6.0 Driver Build Environment Emmaus PA
- Using the Visual Studio 6.0 Driver Build Environment Ephrata PA
- Using the Visual Studio 6.0 Driver Build Environment Erie PA
- Using the Visual Studio 6.0 Driver Build Environment Exton PA
- Using the Visual Studio 6.0 Driver Build Environment Feasterville Trevose PA
- Using the Visual Studio 6.0 Driver Build Environment Gettysburg PA
- Using the Visual Studio 6.0 Driver Build Environment Gibsonia PA
- Using the Visual Studio 6.0 Driver Build Environment Glenshaw PA
- Using the Visual Studio 6.0 Driver Build Environment Glenside PA
- Using the Visual Studio 6.0 Driver Build Environment Greensburg PA
- Using the Visual Studio 6.0 Driver Build Environment Hanover PA
- Using the Visual Studio 6.0 Driver Build Environment Harleysville PA
- Using the Visual Studio 6.0 Driver Build Environment Harrisburg PA
- Using the Visual Studio 6.0 Driver Build Environment Hatboro PA
- Using the Visual Studio 6.0 Driver Build Environment Hatfield PA
- Using the Visual Studio 6.0 Driver Build Environment Havertown PA
- Using the Visual Studio 6.0 Driver Build Environment Hazleton PA
- Using the Visual Studio 6.0 Driver Build Environment Hershey PA
- Using the Visual Studio 6.0 Driver Build Environment Hollidaysburg PA
- Using the Visual Studio 6.0 Driver Build Environment Hummelstown PA
- Using the Visual Studio 6.0 Driver Build Environment Huntingdon PA
- Using the Visual Studio 6.0 Driver Build Environment Huntingdon Valley PA
- Using the Visual Studio 6.0 Driver Build Environment Indiana PA
- Using the Visual Studio 6.0 Driver Build Environment Irwin PA
- Using the Visual Studio 6.0 Driver Build Environment Jeannette PA
- Using the Visual Studio 6.0 Driver Build Environment Jenkintown PA
- Using the Visual Studio 6.0 Driver Build Environment Johnstown PA
- Using the Visual Studio 6.0 Driver Build Environment Kennett Square PA
- Using the Visual Studio 6.0 Driver Build Environment King Of Prussia PA
- Using the Visual Studio 6.0 Driver Build Environment Kingston PA
- Using the Visual Studio 6.0 Driver Build Environment Kittanning PA
- Using the Visual Studio 6.0 Driver Build Environment Kutztown PA
- Using the Visual Studio 6.0 Driver Build Environment Lancaster PA
- Using the Visual Studio 6.0 Driver Build Environment Langhorne PA
- Using the Visual Studio 6.0 Driver Build Environment Lansdale PA
- Using the Visual Studio 6.0 Driver Build Environment Lansdowne PA
- Using the Visual Studio 6.0 Driver Build Environment Latrobe PA
- Using the Visual Studio 6.0 Driver Build Environment Lebanon PA
- Using the Visual Studio 6.0 Driver Build Environment Lehighton PA
- Using the Visual Studio 6.0 Driver Build Environment Levittown PA
- Using the Visual Studio 6.0 Driver Build Environment Lewistown PA
- Using the Visual Studio 6.0 Driver Build Environment Lititz PA
- Using the Visual Studio 6.0 Driver Build Environment Lock Haven PA
- Using the Visual Studio 6.0 Driver Build Environment Manheim PA
- Using the Visual Studio 6.0 Driver Build Environment Marcus Hook PA
- Using the Visual Studio 6.0 Driver Build Environment Mc Kees Rocks PA
- Using the Visual Studio 6.0 Driver Build Environment Mckeesport PA
- Using the Visual Studio 6.0 Driver Build Environment Meadville PA
- Using the Visual Studio 6.0 Driver Build Environment Mechanicsburg PA
- Using the Visual Studio 6.0 Driver Build Environment Media PA
- Using the Visual Studio 6.0 Driver Build Environment Monroeville PA
- Using the Visual Studio 6.0 Driver Build Environment Morrisville PA
- Using the Visual Studio 6.0 Driver Build Environment Nazareth PA
- Using the Visual Studio 6.0 Driver Build Environment New Castle PA
- Using the Visual Studio 6.0 Driver Build Environment New Cumberland PA
- Using the Visual Studio 6.0 Driver Build Environment New Kensington PA
- Using the Visual Studio 6.0 Driver Build Environment Newtown PA
- Using the Visual Studio 6.0 Driver Build Environment Newtown Square PA
- Using the Visual Studio 6.0 Driver Build Environment Norristown PA
- Using the Visual Studio 6.0 Driver Build Environment North Wales PA
- Using the Visual Studio 6.0 Driver Build Environment Oil City PA
- Using the Visual Studio 6.0 Driver Build Environment Palmyra PA
- Using the Visual Studio 6.0 Driver Build Environment Perkasie PA
- Using the Visual Studio 6.0 Driver Build Environment Philadelphia PA
- Using the Visual Studio 6.0 Driver Build Environment Phoenixville PA
- Using the Visual Studio 6.0 Driver Build Environment Pittsburgh PA
- Using the Visual Studio 6.0 Driver Build Environment Pittston PA
- Using the Visual Studio 6.0 Driver Build Environment Pottstown PA
- Using the Visual Studio 6.0 Driver Build Environment Pottsville PA
- Using the Visual Studio 6.0 Driver Build Environment Punxsutawney PA
- Using the Visual Studio 6.0 Driver Build Environment Quakertown PA
- Using the Visual Studio 6.0 Driver Build Environment Reading PA
- Using the Visual Studio 6.0 Driver Build Environment Red Lion PA
- Using the Visual Studio 6.0 Driver Build Environment Royersford PA
- Using the Visual Studio 6.0 Driver Build Environment Scranton PA
- Using the Visual Studio 6.0 Driver Build Environment Selinsgrove PA
- Using the Visual Studio 6.0 Driver Build Environment Sewickley PA
- Using the Visual Studio 6.0 Driver Build Environment Shippensburg PA
- Using the Visual Studio 6.0 Driver Build Environment Southampton PA
- Using the Visual Studio 6.0 Driver Build Environment State College PA
- Using the Visual Studio 6.0 Driver Build Environment Stroudsburg PA
- Using the Visual Studio 6.0 Driver Build Environment Telford PA
- Using the Visual Studio 6.0 Driver Build Environment Uniontown PA
- Using the Visual Studio 6.0 Driver Build Environment Upper Darby PA
- Using the Visual Studio 6.0 Driver Build Environment Verona PA
- Using the Visual Studio 6.0 Driver Build Environment Warminster PA
- Using the Visual Studio 6.0 Driver Build Environment Washington PA
- Using the Visual Studio 6.0 Driver Build Environment Wayne PA
- Using the Visual Studio 6.0 Driver Build Environment Waynesboro PA
- Using the Visual Studio 6.0 Driver Build Environment Waynesburg PA
- Using the Visual Studio 6.0 Driver Build Environment West Chester PA
- Using the Visual Studio 6.0 Driver Build Environment West Mifflin PA
- Using the Visual Studio 6.0 Driver Build Environment Wexford PA
- Using the Visual Studio 6.0 Driver Build Environment Whitehall PA
- Using the Visual Studio 6.0 Driver Build Environment Wilkes Barre PA
- Using the Visual Studio 6.0 Driver Build Environment Williamsport PA
- Using the Visual Studio 6.0 Driver Build Environment Willow Grove PA
- Using the Visual Studio 6.0 Driver Build Environment York PA
Related Local Events
Hot Java at the Watercooler
Dates: 12/23/2009 - 1/23/2010
Location: Odyssey Travel
Skippack, PA
View Details

30th Annual York County Chamber Business & Technology Expo Sneak Preview
Dates: 5/4/2010 - 5/4/2010
Location: Toyota Arena York Expo Center
York, PA
View Details

The 30th Annual York County Chamber Business & Technology Expo presented by DOCEO Office Solutions
Dates: 5/5/2010 - 5/5/2010
Location: Toyota Arena York Expo Center
York, PA
View Details

IT Roundtable
Dates: 11/10/2009 - 11/10/2009
Location: D&E Communications
Brownstown, PA
View Details

Fraser Advanced Information Systems Mixer
Dates: 10/29/2009 - 10/29/2009
Location:
Bethlehem, PA
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