Using the Visual Studio 6.0 Driver Build Environment Texas

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

Local Companies

Parts-People.Com Inc
512-339-1990
3106 Industrial Terrace
Austin, TX
Cypress Software Systems
817-514-6777
9001 Airport Fwy
Fort Worth, TX
Data Solutions
817-281-1277
6517 Smithfield RD
Fort Worth, TX
Forest Software
817-924-9972
2501 Forest Park Blvd
Fort Worth, TX
Information Data Systems
361-886-9437
3458 S Alameda St
Corpus Christi, TX
Altex Electronics
361-814-8882
5945 Mcardle RD
Corpus Christi, TX
2go Software
972-535-5934
7309 Hillview DR
Plano, TX
Open Solutions
972-712-1219
3525 Burnet DR
Plano, TX
Priority Software
972-867-4490
2316 Claridge Cir
Plano, TX
Computers Worth Inc
(972) 487-8922
120 Lavon Dr
Garland, TX

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

Parts-People.Com Inc

512-339-1990
3106 Industrial Terrace
Austin, TX
http://www.parts-people.com

Related Articles
- MSBuild Features for Visual C++ Texas
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.
- Automating Repetitive Tasks in Visual Studio Texas
- Visual Basic .NET Attributes Texas
- An Active Server Pages Tutorial, Part 1 Texas
- Configuring a ClickOnce Deployment Texas
- Interacting with .NET WinForms, Part 1 Texas
- Custom MSBuild Task Development with Visual C++ Texas
- C# Tips and Tricks Texas
- Visual Basic .NET as a Fully Object-Oriented Language Texas
- Resizable Docking Window 2 Texas
Regional Articles
- Using the Visual Studio 6.0 Driver Build Environment Abilene TX
- Using the Visual Studio 6.0 Driver Build Environment Alamo TX
- Using the Visual Studio 6.0 Driver Build Environment Alice TX
- Using the Visual Studio 6.0 Driver Build Environment Allen TX
- Using the Visual Studio 6.0 Driver Build Environment Alvin TX
- Using the Visual Studio 6.0 Driver Build Environment Amarillo TX
- Using the Visual Studio 6.0 Driver Build Environment Angleton TX
- Using the Visual Studio 6.0 Driver Build Environment Arlington TX
- Using the Visual Studio 6.0 Driver Build Environment Austin TX
- Using the Visual Studio 6.0 Driver Build Environment Azle TX
- Using the Visual Studio 6.0 Driver Build Environment Baytown TX
- Using the Visual Studio 6.0 Driver Build Environment Beaumont TX
- Using the Visual Studio 6.0 Driver Build Environment Bedford TX
- Using the Visual Studio 6.0 Driver Build Environment Beeville TX
- Using the Visual Studio 6.0 Driver Build Environment Bellaire TX
- Using the Visual Studio 6.0 Driver Build Environment Belton TX
- Using the Visual Studio 6.0 Driver Build Environment Big Spring TX
- Using the Visual Studio 6.0 Driver Build Environment Boerne TX
- Using the Visual Studio 6.0 Driver Build Environment Borger TX
- Using the Visual Studio 6.0 Driver Build Environment Brenham TX
- Using the Visual Studio 6.0 Driver Build Environment Brownsville TX
- Using the Visual Studio 6.0 Driver Build Environment Brownwood TX
- Using the Visual Studio 6.0 Driver Build Environment Bryan TX
- Using the Visual Studio 6.0 Driver Build Environment Burleson TX
- Using the Visual Studio 6.0 Driver Build Environment Canyon TX
- Using the Visual Studio 6.0 Driver Build Environment Carrollton TX
- Using the Visual Studio 6.0 Driver Build Environment Cedar Hill TX
- Using the Visual Studio 6.0 Driver Build Environment Cedar Park TX
- Using the Visual Studio 6.0 Driver Build Environment Channelview TX
- Using the Visual Studio 6.0 Driver Build Environment Cleburne TX
- Using the Visual Studio 6.0 Driver Build Environment Cleveland TX
- Using the Visual Studio 6.0 Driver Build Environment Clute TX
- Using the Visual Studio 6.0 Driver Build Environment College Station TX
- Using the Visual Studio 6.0 Driver Build Environment Colleyville TX
- Using the Visual Studio 6.0 Driver Build Environment Conroe TX
- Using the Visual Studio 6.0 Driver Build Environment Converse TX
- Using the Visual Studio 6.0 Driver Build Environment Coppell TX
- Using the Visual Studio 6.0 Driver Build Environment Copperas Cove TX
- Using the Visual Studio 6.0 Driver Build Environment Corpus Christi TX
- Using the Visual Studio 6.0 Driver Build Environment Corsicana TX
- Using the Visual Studio 6.0 Driver Build Environment Crosby TX
- Using the Visual Studio 6.0 Driver Build Environment Cypress TX
- Using the Visual Studio 6.0 Driver Build Environment Dallas TX
- Using the Visual Studio 6.0 Driver Build Environment Dayton TX
- Using the Visual Studio 6.0 Driver Build Environment Deer Park TX
- Using the Visual Studio 6.0 Driver Build Environment Del Rio TX
- Using the Visual Studio 6.0 Driver Build Environment Del Valle TX
- Using the Visual Studio 6.0 Driver Build Environment Denison TX
- Using the Visual Studio 6.0 Driver Build Environment Denton TX
- Using the Visual Studio 6.0 Driver Build Environment Desoto TX
- Using the Visual Studio 6.0 Driver Build Environment Dickinson TX
- Using the Visual Studio 6.0 Driver Build Environment Donna TX
- Using the Visual Studio 6.0 Driver Build Environment Dumas TX
- Using the Visual Studio 6.0 Driver Build Environment Duncanville TX
- Using the Visual Studio 6.0 Driver Build Environment Eagle Pass TX
- Using the Visual Studio 6.0 Driver Build Environment Edinburg TX
- Using the Visual Studio 6.0 Driver Build Environment El Campo TX
- Using the Visual Studio 6.0 Driver Build Environment El Paso TX
- Using the Visual Studio 6.0 Driver Build Environment Ennis TX
- Using the Visual Studio 6.0 Driver Build Environment Euless TX
- Using the Visual Studio 6.0 Driver Build Environment Floresville TX
- Using the Visual Studio 6.0 Driver Build Environment Flower Mound TX
- Using the Visual Studio 6.0 Driver Build Environment Fort Worth TX
- Using the Visual Studio 6.0 Driver Build Environment Friendswood TX
- Using the Visual Studio 6.0 Driver Build Environment Frisco TX
- Using the Visual Studio 6.0 Driver Build Environment Galveston TX
- Using the Visual Studio 6.0 Driver Build Environment Garland TX
- Using the Visual Studio 6.0 Driver Build Environment Gatesville TX
- Using the Visual Studio 6.0 Driver Build Environment Georgetown TX
- Using the Visual Studio 6.0 Driver Build Environment Gilmer TX
- Using the Visual Studio 6.0 Driver Build Environment Granbury TX
- Using the Visual Studio 6.0 Driver Build Environment Grand Prairie TX
- Using the Visual Studio 6.0 Driver Build Environment Grapevine TX
- Using the Visual Studio 6.0 Driver Build Environment Greenville TX
- Using the Visual Studio 6.0 Driver Build Environment Groves TX
- Using the Visual Studio 6.0 Driver Build Environment Haltom City TX
- Using the Visual Studio 6.0 Driver Build Environment Harker Heights TX
- Using the Visual Studio 6.0 Driver Build Environment Harlingen TX
- Using the Visual Studio 6.0 Driver Build Environment Henderson TX
- Using the Visual Studio 6.0 Driver Build Environment Houston TX
- Using the Visual Studio 6.0 Driver Build Environment Humble TX
- Using the Visual Studio 6.0 Driver Build Environment Huntsville TX
- Using the Visual Studio 6.0 Driver Build Environment Hurst TX
- Using the Visual Studio 6.0 Driver Build Environment Irving TX
- Using the Visual Studio 6.0 Driver Build Environment Jacksonville TX
- Using the Visual Studio 6.0 Driver Build Environment Joshua TX
- Using the Visual Studio 6.0 Driver Build Environment Katy TX
- Using the Visual Studio 6.0 Driver Build Environment Kaufman TX
- Using the Visual Studio 6.0 Driver Build Environment Keller TX
- Using the Visual Studio 6.0 Driver Build Environment Kerrville TX
- Using the Visual Studio 6.0 Driver Build Environment Kilgore TX
- Using the Visual Studio 6.0 Driver Build Environment Killeen TX
- Using the Visual Studio 6.0 Driver Build Environment Kingsville TX
- Using the Visual Studio 6.0 Driver Build Environment Kyle TX
- Using the Visual Studio 6.0 Driver Build Environment La Porte TX
- Using the Visual Studio 6.0 Driver Build Environment Lake Jackson TX
- Using the Visual Studio 6.0 Driver Build Environment Lancaster TX
- Using the Visual Studio 6.0 Driver Build Environment Laredo TX
- Using the Visual Studio 6.0 Driver Build Environment League City TX
- Using the Visual Studio 6.0 Driver Build Environment Leander TX
- Using the Visual Studio 6.0 Driver Build Environment Levelland TX
- Using the Visual Studio 6.0 Driver Build Environment Lewisville TX
- Using the Visual Studio 6.0 Driver Build Environment Livingston TX
- Using the Visual Studio 6.0 Driver Build Environment Lockhart TX
- Using the Visual Studio 6.0 Driver Build Environment Longview TX
- Using the Visual Studio 6.0 Driver Build Environment Lubbock TX
- Using the Visual Studio 6.0 Driver Build Environment Lufkin TX
- Using the Visual Studio 6.0 Driver Build Environment Mabank TX
- Using the Visual Studio 6.0 Driver Build Environment Magnolia TX
- Using the Visual Studio 6.0 Driver Build Environment Mansfield TX
- Using the Visual Studio 6.0 Driver Build Environment Marble Falls TX
- Using the Visual Studio 6.0 Driver Build Environment Marshall TX
- Using the Visual Studio 6.0 Driver Build Environment Mc Kinney TX
- Using the Visual Studio 6.0 Driver Build Environment Mcallen TX
- Using the Visual Studio 6.0 Driver Build Environment Mercedes TX
- Using the Visual Studio 6.0 Driver Build Environment Mesquite TX
- Using the Visual Studio 6.0 Driver Build Environment Midland TX
- Using the Visual Studio 6.0 Driver Build Environment Mineral Wells TX
- Using the Visual Studio 6.0 Driver Build Environment Mission TX
- Using the Visual Studio 6.0 Driver Build Environment Missouri City TX
- Using the Visual Studio 6.0 Driver Build Environment Nacogdoches TX
- Using the Visual Studio 6.0 Driver Build Environment Navasota TX
- Using the Visual Studio 6.0 Driver Build Environment Nederland TX
- Using the Visual Studio 6.0 Driver Build Environment New Braunfels TX
- Using the Visual Studio 6.0 Driver Build Environment New Caney TX
- Using the Visual Studio 6.0 Driver Build Environment North Richland Hills TX
- Using the Visual Studio 6.0 Driver Build Environment Odessa TX
- Using the Visual Studio 6.0 Driver Build Environment Orange TX
- Using the Visual Studio 6.0 Driver Build Environment Palestine TX
- Using the Visual Studio 6.0 Driver Build Environment Pampa TX
- Using the Visual Studio 6.0 Driver Build Environment Paris TX
- Using the Visual Studio 6.0 Driver Build Environment Pasadena TX
- Using the Visual Studio 6.0 Driver Build Environment Pearland TX
- Using the Visual Studio 6.0 Driver Build Environment Pflugerville TX
- Using the Visual Studio 6.0 Driver Build Environment Pharr TX
- Using the Visual Studio 6.0 Driver Build Environment Plainview TX
- Using the Visual Studio 6.0 Driver Build Environment Plano TX
- Using the Visual Studio 6.0 Driver Build Environment Port Arthur TX
- Using the Visual Studio 6.0 Driver Build Environment Port Lavaca TX
- Using the Visual Studio 6.0 Driver Build Environment Porter TX
- Using the Visual Studio 6.0 Driver Build Environment Red Oak TX
- Using the Visual Studio 6.0 Driver Build Environment Richardson TX
- Using the Visual Studio 6.0 Driver Build Environment Richmond TX
- Using the Visual Studio 6.0 Driver Build Environment Rio Grande City TX
- Using the Visual Studio 6.0 Driver Build Environment Robstown TX
- Using the Visual Studio 6.0 Driver Build Environment Rockport TX
- Using the Visual Studio 6.0 Driver Build Environment Rockwall TX
- Using the Visual Studio 6.0 Driver Build Environment Roma TX
- Using the Visual Studio 6.0 Driver Build Environment Rosenberg TX
- Using the Visual Studio 6.0 Driver Build Environment Rosharon TX
- Using the Visual Studio 6.0 Driver Build Environment Round Rock TX
- Using the Visual Studio 6.0 Driver Build Environment Rowlett TX
- Using the Visual Studio 6.0 Driver Build Environment San Angelo TX
- Using the Visual Studio 6.0 Driver Build Environment San Antonio TX
- Using the Visual Studio 6.0 Driver Build Environment San Benito TX
- Using the Visual Studio 6.0 Driver Build Environment San Marcos TX
- Using the Visual Studio 6.0 Driver Build Environment Schertz TX
- Using the Visual Studio 6.0 Driver Build Environment Seabrook TX
- Using the Visual Studio 6.0 Driver Build Environment Seagoville TX
- Using the Visual Studio 6.0 Driver Build Environment Seguin TX
- Using the Visual Studio 6.0 Driver Build Environment Sherman TX
- Using the Visual Studio 6.0 Driver Build Environment Silsbee TX
- Using the Visual Studio 6.0 Driver Build Environment South Houston TX
- Using the Visual Studio 6.0 Driver Build Environment Southlake TX
- Using the Visual Studio 6.0 Driver Build Environment Spring TX
- Using the Visual Studio 6.0 Driver Build Environment Springtown TX
- Using the Visual Studio 6.0 Driver Build Environment Stephenville TX
- Using the Visual Studio 6.0 Driver Build Environment Sugar Land TX
- Using the Visual Studio 6.0 Driver Build Environment Sulphur Springs TX
- Using the Visual Studio 6.0 Driver Build Environment Temple TX
- Using the Visual Studio 6.0 Driver Build Environment Terrell TX
- Using the Visual Studio 6.0 Driver Build Environment Texarkana TX
- Using the Visual Studio 6.0 Driver Build Environment Texas City TX
- Using the Visual Studio 6.0 Driver Build Environment The Colony TX
- Using the Visual Studio 6.0 Driver Build Environment Tomball TX
- Using the Visual Studio 6.0 Driver Build Environment Tyler TX
- Using the Visual Studio 6.0 Driver Build Environment Universal City TX
- Using the Visual Studio 6.0 Driver Build Environment Uvalde TX
- Using the Visual Studio 6.0 Driver Build Environment Victoria TX
- Using the Visual Studio 6.0 Driver Build Environment Vidor TX
- Using the Visual Studio 6.0 Driver Build Environment Waco TX
- Using the Visual Studio 6.0 Driver Build Environment Waxahachie TX
- Using the Visual Studio 6.0 Driver Build Environment Weatherford TX
- Using the Visual Studio 6.0 Driver Build Environment Weslaco TX
- Using the Visual Studio 6.0 Driver Build Environment Wharton TX
- Using the Visual Studio 6.0 Driver Build Environment Wichita Falls TX
- Using the Visual Studio 6.0 Driver Build Environment Willis TX
- Using the Visual Studio 6.0 Driver Build Environment Woodway TX
- Using the Visual Studio 6.0 Driver Build Environment Wylie TX
Related Articles
- Custom MSBuild Task Development with Visual C++ Texas
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.
- MSBuild Features for Visual C++ Texas
- Automating Repetitive Tasks in Visual Studio Texas
- Resizable Docking Window 2 Texas
- Visual Basic .NET Attributes Texas
- Interacting with .NET WinForms, Part 1 Texas
- C# Tips and Tricks Texas
- An Active Server Pages Tutorial, Part 1 Texas
- Visual Basic .NET as a Fully Object-Oriented Language Texas
- Configuring a ClickOnce Deployment Texas
Related Local Events
Computer Measurement Group (CMG)
Dates: 12/6/2009 - 12/11/2009
Location: Gaylord Texan
Dallas, TX
View Details

Deep Offshore Technology (DOT 2010)
Dates: 2/2/2010 - 2/4/2010
Location: George R. Brown Convention Center
Houston, TX
View Details

Renewable Energy World Conference & Expo North America
Dates: 2/23/2010 - 2/25/2010
Location: Austin Convention Center, Austin
Austin, TX
View Details

Subsea Tieback Exhibition (SSTB)
Dates: 3/2/2010 - 3/4/2010
Location: Moody Gardens Hotel & Convention Center
Galveston, TX
View Details

PBIOS - Permian Basin International Oil Show 2010
Dates: 10/19/2010 - 10/21/2010
Location: Ector County Coliseum Complex
Midland, TX
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