Using the Visual Studio 6.0 Driver Build Environment Georgia

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

Local Companies

Wireless Vision, Inc
800-661-1560
9493 Jonica Gap Rd
Morganton, GA
Powerserve International
706-826-1506
929 Broad Street
Augusta, GA
Thrive Technologies Inc.
404-526-6160
1899 Lake Road
Hiram, GA
Ingenium Software
770-394-7724
1851 Peeler Road
Atlanta, GA
Ingenium Software
770-394-7724
1851 Peeler Road
Atlanta, GA
Ingenium Software
770-394-7724
1851 Peeler Road
Atlanta, GA
Inside Corp
770-828-0100
4279 Roswell Rd
Atlanta, GA
SecuredPay Solutions, Inc.
404-324-3449
640 MCGILL PL NE
Atlanta, GA
TrueSoft
408-647-1434
10595 Pinewalk Forest Circle
Alpharetta, GA
cavernet
(404) 997-0728
1400 herrington rd lawrenceville
atlanta, GA

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

Wireless Vision, Inc

800-661-1560
9493 Jonica Gap Rd
Morganton, GA
http://www.wirelessvision.com

Related Articles
- Custom MSBuild Task Development with Visual C++ Georgia
Visual C++ 2010 sees the integration of MSBuild with Visual C++. MSBuild is Microsoft's common build engine and one of its key design goals is the ability to support a high-degree of flexibility in customizing the build process. See how a custom MSBuild task can be built in Visual C++, and how the task can be used to customize the build process of other Visual C++ 2010 projects.
- An Active Server Pages Tutorial, Part 1 Georgia
- Automating Repetitive Tasks in Visual Studio Georgia
- Configuring a ClickOnce Deployment Georgia
- Visual Basic .NET Attributes Georgia
- C# Tips and Tricks Georgia
- Resizable Docking Window 2 Georgia
- MSBuild Features for Visual C++ Georgia
- Visual Basic .NET as a Fully Object-Oriented Language Georgia
- Interacting with .NET WinForms, Part 1 Georgia
Regional Articles
- Using the Visual Studio 6.0 Driver Build Environment Acworth GA
- Using the Visual Studio 6.0 Driver Build Environment Albany GA
- Using the Visual Studio 6.0 Driver Build Environment Alpharetta GA
- Using the Visual Studio 6.0 Driver Build Environment Americus GA
- Using the Visual Studio 6.0 Driver Build Environment Athens GA
- Using the Visual Studio 6.0 Driver Build Environment Atlanta GA
- Using the Visual Studio 6.0 Driver Build Environment Augusta GA
- Using the Visual Studio 6.0 Driver Build Environment Austell GA
- Using the Visual Studio 6.0 Driver Build Environment Baxley GA
- Using the Visual Studio 6.0 Driver Build Environment Blairsville GA
- Using the Visual Studio 6.0 Driver Build Environment Brunswick GA
- Using the Visual Studio 6.0 Driver Build Environment Buford GA
- Using the Visual Studio 6.0 Driver Build Environment Calhoun GA
- Using the Visual Studio 6.0 Driver Build Environment Canton GA
- Using the Visual Studio 6.0 Driver Build Environment Carrollton GA
- Using the Visual Studio 6.0 Driver Build Environment Cartersville GA
- Using the Visual Studio 6.0 Driver Build Environment Cedartown GA
- Using the Visual Studio 6.0 Driver Build Environment Chatsworth GA
- Using the Visual Studio 6.0 Driver Build Environment Columbus GA
- Using the Visual Studio 6.0 Driver Build Environment Conyers GA
- Using the Visual Studio 6.0 Driver Build Environment Cordele GA
- Using the Visual Studio 6.0 Driver Build Environment Covington GA
- Using the Visual Studio 6.0 Driver Build Environment Cumming GA
- Using the Visual Studio 6.0 Driver Build Environment Dacula GA
- Using the Visual Studio 6.0 Driver Build Environment Dahlonega GA
- Using the Visual Studio 6.0 Driver Build Environment Dallas GA
- Using the Visual Studio 6.0 Driver Build Environment Dalton GA
- Using the Visual Studio 6.0 Driver Build Environment Dawsonville GA
- Using the Visual Studio 6.0 Driver Build Environment Decatur GA
- Using the Visual Studio 6.0 Driver Build Environment Douglas GA
- Using the Visual Studio 6.0 Driver Build Environment Douglasville GA
- Using the Visual Studio 6.0 Driver Build Environment Dublin GA
- Using the Visual Studio 6.0 Driver Build Environment Duluth GA
- Using the Visual Studio 6.0 Driver Build Environment Eatonton GA
- Using the Visual Studio 6.0 Driver Build Environment Elberton GA
- Using the Visual Studio 6.0 Driver Build Environment Ellenwood GA
- Using the Visual Studio 6.0 Driver Build Environment Ellijay GA
- Using the Visual Studio 6.0 Driver Build Environment Evans GA
- Using the Visual Studio 6.0 Driver Build Environment Fairburn GA
- Using the Visual Studio 6.0 Driver Build Environment Fayetteville GA
- Using the Visual Studio 6.0 Driver Build Environment Fitzgerald GA
- Using the Visual Studio 6.0 Driver Build Environment Flowery Branch GA
- Using the Visual Studio 6.0 Driver Build Environment Forest Park GA
- Using the Visual Studio 6.0 Driver Build Environment Fort Benning GA
- Using the Visual Studio 6.0 Driver Build Environment Fort Valley GA
- Using the Visual Studio 6.0 Driver Build Environment Gainesville GA
- Using the Visual Studio 6.0 Driver Build Environment Griffin GA
- Using the Visual Studio 6.0 Driver Build Environment Grovetown GA
- Using the Visual Studio 6.0 Driver Build Environment Hartwell GA
- Using the Visual Studio 6.0 Driver Build Environment Hephzibah GA
- Using the Visual Studio 6.0 Driver Build Environment Hinesville GA
- Using the Visual Studio 6.0 Driver Build Environment Jesup GA
- Using the Visual Studio 6.0 Driver Build Environment Jonesboro GA
- Using the Visual Studio 6.0 Driver Build Environment Kennesaw GA
- Using the Visual Studio 6.0 Driver Build Environment Kingsland GA
- Using the Visual Studio 6.0 Driver Build Environment La Fayette GA
- Using the Visual Studio 6.0 Driver Build Environment Lagrange GA
- Using the Visual Studio 6.0 Driver Build Environment Lawrenceville GA
- Using the Visual Studio 6.0 Driver Build Environment Lilburn GA
- Using the Visual Studio 6.0 Driver Build Environment Lithia Springs GA
- Using the Visual Studio 6.0 Driver Build Environment Lithonia GA
- Using the Visual Studio 6.0 Driver Build Environment Loganville GA
- Using the Visual Studio 6.0 Driver Build Environment Mableton GA
- Using the Visual Studio 6.0 Driver Build Environment Macon GA
- Using the Visual Studio 6.0 Driver Build Environment Marietta GA
- Using the Visual Studio 6.0 Driver Build Environment Mcdonough GA
- Using the Visual Studio 6.0 Driver Build Environment Milledgeville GA
- Using the Visual Studio 6.0 Driver Build Environment Monroe GA
- Using the Visual Studio 6.0 Driver Build Environment Morrow GA
- Using the Visual Studio 6.0 Driver Build Environment Moultrie GA
- Using the Visual Studio 6.0 Driver Build Environment Newnan GA
- Using the Visual Studio 6.0 Driver Build Environment Norcross GA
- Using the Visual Studio 6.0 Driver Build Environment Peachtree City GA
- Using the Visual Studio 6.0 Driver Build Environment Powder Springs GA
- Using the Visual Studio 6.0 Driver Build Environment Ringgold GA
- Using the Visual Studio 6.0 Driver Build Environment Riverdale GA
- Using the Visual Studio 6.0 Driver Build Environment Rockmart GA
- Using the Visual Studio 6.0 Driver Build Environment Rome GA
- Using the Visual Studio 6.0 Driver Build Environment Rossville GA
- Using the Visual Studio 6.0 Driver Build Environment Roswell GA
- Using the Visual Studio 6.0 Driver Build Environment Saint Simons Island GA
- Using the Visual Studio 6.0 Driver Build Environment Savannah GA
- Using the Visual Studio 6.0 Driver Build Environment Sharpsburg GA
- Using the Visual Studio 6.0 Driver Build Environment Smyrna GA
- Using the Visual Studio 6.0 Driver Build Environment Snellville GA
- Using the Visual Studio 6.0 Driver Build Environment Statesboro GA
- Using the Visual Studio 6.0 Driver Build Environment Stockbridge GA
- Using the Visual Studio 6.0 Driver Build Environment Stone Mountain GA
- Using the Visual Studio 6.0 Driver Build Environment Suwanee GA
- Using the Visual Studio 6.0 Driver Build Environment Thomaston GA
- Using the Visual Studio 6.0 Driver Build Environment Thomasville GA
- Using the Visual Studio 6.0 Driver Build Environment Thomson GA
- Using the Visual Studio 6.0 Driver Build Environment Tifton GA
- Using the Visual Studio 6.0 Driver Build Environment Toccoa GA
- Using the Visual Studio 6.0 Driver Build Environment Tucker GA
- Using the Visual Studio 6.0 Driver Build Environment Valdosta GA
- Using the Visual Studio 6.0 Driver Build Environment Vidalia GA
- Using the Visual Studio 6.0 Driver Build Environment Villa Rica GA
- Using the Visual Studio 6.0 Driver Build Environment Warner Robins GA
- Using the Visual Studio 6.0 Driver Build Environment Waycross GA
- Using the Visual Studio 6.0 Driver Build Environment Winder GA
- Using the Visual Studio 6.0 Driver Build Environment Woodstock GA
Related Articles
- MSBuild Features for Visual C++ Georgia
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 Georgia
- Interacting with .NET WinForms, Part 1 Georgia
- Visual Basic .NET Attributes Georgia
- Automating Repetitive Tasks in Visual Studio Georgia
- Resizable Docking Window 2 Georgia
- Custom MSBuild Task Development with Visual C++ Georgia
- An Active Server Pages Tutorial, Part 1 Georgia
- C# Tips and Tricks Georgia
- Visual Basic .NET as a Fully Object-Oriented Language Georgia
Related Local Events
Astd Atlanta Technology Based Learning Sig Event 4Th Annual Elearning Excellence Awards
Dates: 12/10/2009 - 12/10/2009
Location: Knowledge Development Centers
Atlanta, GA
View Details

TAG CRM
Dates: 11/12/2009 - 11/12/2009
Location: Oracle - Building 500
Atlanta, GA
View Details

Southeast User Group Leader Summit
Dates: 10/24/2009 - 10/24/2009
Location: Microsoft Alpharetta
Alpharetta, GA
View Details

TAG Excalibur Awards 2009
Dates: 10/23/2009 - 10/23/2009
Location: Atlanta Buckhead Marriott
Atlanta, GA
View Details

Astd Atlanta Technology Based Learning Sig Event Scorm
Dates: 10/6/2009 - 10/6/2009
Location: Knowledge Development Centers
Atlanta, GA
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