Using the Visual Studio 6.0 Driver Build Environment North Carolina

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

Local Companies

The Lead Tree
321-206-8283
306 North Rankin Street
Atkinson, NC
StreamLogic Inc.
704-771-1090
3030 Glen Summit Dr.
Charlotte, NC
D P Solutions Inc
336-854-7700
4411 W Market St
Greensboro, NC
Software Design Inc
336-378-0900
1301 Carolina St
Greensboro, NC
Advantec Information Systems LLC
336-275-2832
2007 Yanceyville St
Greensboro, NC
Community Web
336-499-3001
133 Hicks St
Winston-Salem, NC
BuildLinks: Web-based Project Management for Home Builders
888-700-9470
3800 Paramount Parkway, Suite 100
Morrisville, NC
Collabera
(704) 372-7272
212 South Tryon Street
Charlotte, NC
CompuData, Inc
(704) 504-0600
2401 Whitehall Park Drive
Charlotte, NC
Dalcom Consulting
336-851-1802
8 Oak Branch DR
Greensboro, NC

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

The Lead Tree

321-206-8283
306 North Rankin Street
Atkinson, NC

Related Articles
- MSBuild Features for Visual C++ North Carolina
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.
- Resizable Docking Window 2 North Carolina
- Custom MSBuild Task Development with Visual C++ North Carolina
- An Active Server Pages Tutorial, Part 1 North Carolina
- Interacting with .NET WinForms, Part 1 North Carolina
- Visual Basic .NET as a Fully Object-Oriented Language North Carolina
- Automating Repetitive Tasks in Visual Studio North Carolina
- C# Tips and Tricks North Carolina
- Configuring a ClickOnce Deployment North Carolina
- Visual Basic .NET Attributes North Carolina
Regional Articles
- Using the Visual Studio 6.0 Driver Build Environment Albemarle NC
- Using the Visual Studio 6.0 Driver Build Environment Apex NC
- Using the Visual Studio 6.0 Driver Build Environment Arden NC
- Using the Visual Studio 6.0 Driver Build Environment Asheboro NC
- Using the Visual Studio 6.0 Driver Build Environment Asheville NC
- Using the Visual Studio 6.0 Driver Build Environment Bessemer City NC
- Using the Visual Studio 6.0 Driver Build Environment Boone NC
- Using the Visual Studio 6.0 Driver Build Environment Brevard NC
- Using the Visual Studio 6.0 Driver Build Environment Burlington NC
- Using the Visual Studio 6.0 Driver Build Environment Camp Lejeune NC
- Using the Visual Studio 6.0 Driver Build Environment Candler NC
- Using the Visual Studio 6.0 Driver Build Environment Cary NC
- Using the Visual Studio 6.0 Driver Build Environment Chapel Hill NC
- Using the Visual Studio 6.0 Driver Build Environment Charlotte NC
- Using the Visual Studio 6.0 Driver Build Environment Clayton NC
- Using the Visual Studio 6.0 Driver Build Environment Clemmons NC
- Using the Visual Studio 6.0 Driver Build Environment Clinton NC
- Using the Visual Studio 6.0 Driver Build Environment Concord NC
- Using the Visual Studio 6.0 Driver Build Environment Conover NC
- Using the Visual Studio 6.0 Driver Build Environment Dunn NC
- Using the Visual Studio 6.0 Driver Build Environment Durham NC
- Using the Visual Studio 6.0 Driver Build Environment Eden NC
- Using the Visual Studio 6.0 Driver Build Environment Elizabeth City NC
- Using the Visual Studio 6.0 Driver Build Environment Fayetteville NC
- Using the Visual Studio 6.0 Driver Build Environment Forest City NC
- Using the Visual Studio 6.0 Driver Build Environment Fort Bragg NC
- Using the Visual Studio 6.0 Driver Build Environment Fuquay Varina NC
- Using the Visual Studio 6.0 Driver Build Environment Garner NC
- Using the Visual Studio 6.0 Driver Build Environment Gastonia NC
- Using the Visual Studio 6.0 Driver Build Environment Goldsboro NC
- Using the Visual Studio 6.0 Driver Build Environment Granite Falls NC
- Using the Visual Studio 6.0 Driver Build Environment Greensboro NC
- Using the Visual Studio 6.0 Driver Build Environment Greenville NC
- Using the Visual Studio 6.0 Driver Build Environment Havelock NC
- Using the Visual Studio 6.0 Driver Build Environment Henderson NC
- Using the Visual Studio 6.0 Driver Build Environment Hendersonville NC
- Using the Visual Studio 6.0 Driver Build Environment Hickory NC
- Using the Visual Studio 6.0 Driver Build Environment High Point NC
- Using the Visual Studio 6.0 Driver Build Environment Hillsborough NC
- Using the Visual Studio 6.0 Driver Build Environment Hope Mills NC
- Using the Visual Studio 6.0 Driver Build Environment Huntersville NC
- Using the Visual Studio 6.0 Driver Build Environment Jacksonville NC
- Using the Visual Studio 6.0 Driver Build Environment Kannapolis NC
- Using the Visual Studio 6.0 Driver Build Environment Kernersville NC
- Using the Visual Studio 6.0 Driver Build Environment King NC
- Using the Visual Studio 6.0 Driver Build Environment Kings Mountain NC
- Using the Visual Studio 6.0 Driver Build Environment Kinston NC
- Using the Visual Studio 6.0 Driver Build Environment Knightdale NC
- Using the Visual Studio 6.0 Driver Build Environment Laurinburg NC
- Using the Visual Studio 6.0 Driver Build Environment Leland NC
- Using the Visual Studio 6.0 Driver Build Environment Lenoir NC
- Using the Visual Studio 6.0 Driver Build Environment Lexington NC
- Using the Visual Studio 6.0 Driver Build Environment Lillington NC
- Using the Visual Studio 6.0 Driver Build Environment Lincolnton NC
- Using the Visual Studio 6.0 Driver Build Environment Louisburg NC
- Using the Visual Studio 6.0 Driver Build Environment Lumberton NC
- Using the Visual Studio 6.0 Driver Build Environment Marion NC
- Using the Visual Studio 6.0 Driver Build Environment Matthews NC
- Using the Visual Studio 6.0 Driver Build Environment Mebane NC
- Using the Visual Studio 6.0 Driver Build Environment Mocksville NC
- Using the Visual Studio 6.0 Driver Build Environment Monroe NC
- Using the Visual Studio 6.0 Driver Build Environment Mooresville NC
- Using the Visual Studio 6.0 Driver Build Environment Morganton NC
- Using the Visual Studio 6.0 Driver Build Environment Mount Airy NC
- Using the Visual Studio 6.0 Driver Build Environment Mount Olive NC
- Using the Visual Studio 6.0 Driver Build Environment Murphy NC
- Using the Visual Studio 6.0 Driver Build Environment New Bern NC
- Using the Visual Studio 6.0 Driver Build Environment North Wilkesboro NC
- Using the Visual Studio 6.0 Driver Build Environment Raeford NC
- Using the Visual Studio 6.0 Driver Build Environment Raleigh NC
- Using the Visual Studio 6.0 Driver Build Environment Reidsville NC
- Using the Visual Studio 6.0 Driver Build Environment Roanoke Rapids NC
- Using the Visual Studio 6.0 Driver Build Environment Rockingham NC
- Using the Visual Studio 6.0 Driver Build Environment Rocky Mount NC
- Using the Visual Studio 6.0 Driver Build Environment Roxboro NC
- Using the Visual Studio 6.0 Driver Build Environment Rutherfordton NC
- Using the Visual Studio 6.0 Driver Build Environment Salisbury NC
- Using the Visual Studio 6.0 Driver Build Environment Sanford NC
- Using the Visual Studio 6.0 Driver Build Environment Shelby NC
- Using the Visual Studio 6.0 Driver Build Environment Siler City NC
- Using the Visual Studio 6.0 Driver Build Environment Statesville NC
- Using the Visual Studio 6.0 Driver Build Environment Tarboro NC
- Using the Visual Studio 6.0 Driver Build Environment Taylorsville NC
- Using the Visual Studio 6.0 Driver Build Environment Thomasville NC
- Using the Visual Studio 6.0 Driver Build Environment Trinity NC
- Using the Visual Studio 6.0 Driver Build Environment Wake Forest NC
- Using the Visual Studio 6.0 Driver Build Environment Waxhaw NC
- Using the Visual Studio 6.0 Driver Build Environment Waynesville NC
- Using the Visual Studio 6.0 Driver Build Environment Weaverville NC
- Using the Visual Studio 6.0 Driver Build Environment Wendell NC
- Using the Visual Studio 6.0 Driver Build Environment Whiteville NC
- Using the Visual Studio 6.0 Driver Build Environment Williamston NC
- Using the Visual Studio 6.0 Driver Build Environment Wilmington NC
- Using the Visual Studio 6.0 Driver Build Environment Wilson NC
- Using the Visual Studio 6.0 Driver Build Environment Winston Salem NC
- Using the Visual Studio 6.0 Driver Build Environment Zebulon NC
Related Local Events
Breakfast & Business (PWN)
Dates: 11/24/2009 - 11/24/2009
Location: Durham Chamber
Durham, NC
View Details

Breakfast & Business (PWN)
Dates: 11/24/2009 - 11/24/2009
Location: Durham Chamber
Durham, NC
View Details

North Carolina Legislative Holiday Reception (Govt. Affairs)
Dates: 12/3/2009 - 12/3/2009
Location: Washington Duke Inn & Golf Club
Durham, NC
View Details

North Carolina Legislative Holiday Reception (Govt. Affairs)
Dates: 12/3/2009 - 12/3/2009
Location: Washington Duke Inn & Golf Club
Durham, NC
View Details

Automation Technology Expo South
Dates: 4/28/2010 - 4/29/2010
Location: Charlotte Convention Center
Charlotte, NC
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