Using the Visual Studio 6.0 Driver Build Environment Iowa

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

Local Companies

Oakland Corp
(515) 733-5114
414 Broad St
Story City, IA
G Soft
(712) 262-6974
12 E 4th St
Spencer, IA
Rz Technologies
(515) 961-4690
5398 94th Ln
Norwalk, IA
Computer Express
(319) 667-6125
303 Ives St S
North English, IA
Innovative Software Engineering
(319) 665-3400
2658 Crosspark Rd
Coralville, IA
Td & T Technology Solutions Llc
(641) 672-2487
101 N 3rd St
Oskaloosa, IA
Computer Systems Design & Programming
(563) 441-0270
2117 State St
Bettendorf, IA
Ice Technologies
(641) 628-8724
1417 Washington St
Pella, IA
Affinity Business Solutions Llc
(641) 673-5041
1701 3rd Ave E
Oskaloosa, IA
Cisco Inc
(515) 225-9015
1501 42nd St
Des Moines, IA

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
Regional Articles
- Using the Visual Studio 6.0 Driver Build Environment Ames IA
- Using the Visual Studio 6.0 Driver Build Environment Ankeny IA
- Using the Visual Studio 6.0 Driver Build Environment Bettendorf IA
- Using the Visual Studio 6.0 Driver Build Environment Burlington IA
- Using the Visual Studio 6.0 Driver Build Environment Cedar Falls IA
- Using the Visual Studio 6.0 Driver Build Environment Cedar Rapids IA
- Using the Visual Studio 6.0 Driver Build Environment Clinton IA
- Using the Visual Studio 6.0 Driver Build Environment Coralville IA
- Using the Visual Studio 6.0 Driver Build Environment Council Bluffs IA
- Using the Visual Studio 6.0 Driver Build Environment Davenport IA
- Using the Visual Studio 6.0 Driver Build Environment Des Moines IA
- Using the Visual Studio 6.0 Driver Build Environment Dubuque IA
- Using the Visual Studio 6.0 Driver Build Environment Fort Dodge IA
- Using the Visual Studio 6.0 Driver Build Environment Indianola IA
- Using the Visual Studio 6.0 Driver Build Environment Iowa City IA
- Using the Visual Studio 6.0 Driver Build Environment Marion IA
- Using the Visual Studio 6.0 Driver Build Environment Marshalltown IA
- Using the Visual Studio 6.0 Driver Build Environment Mason City IA
- Using the Visual Studio 6.0 Driver Build Environment Muscatine IA
- Using the Visual Studio 6.0 Driver Build Environment Oskaloosa IA
- Using the Visual Studio 6.0 Driver Build Environment Ottumwa IA
- Using the Visual Studio 6.0 Driver Build Environment Sioux City IA
- Using the Visual Studio 6.0 Driver Build Environment Urbandale IA
- Using the Visual Studio 6.0 Driver Build Environment Waterloo IA
- Using the Visual Studio 6.0 Driver Build Environment West Des Moines IA
Related Local Events
Chamber Coffee - Vantus Bank
Dates: 11/18/2009 - 11/18/2009
Location: Le Mars Chamber of Commerce
Le Mars, IA
View Details

Chamber Coffee - The Living Center
Dates: 11/11/2009 - 11/11/2009
Location: Le Mars Chamber of Commerce
Le Mars, IA
View Details

8/14/09 - Technology and Professional Communication Capatibility
Dates: 8/14/2009 - 8/14/2009
Location: TS Bank Solution Center
Council Bluffs, IA
View Details

University of Okoboji 3.5 Open Water Swim
Dates: 8/1/2009 - 8/1/2009
Location: Pikes Point,
Okoboji, IA
View Details

ArtsLIVE Yourth Festival
Dates: 7/20/2009 - 7/20/2009
Location: Camp Foster YMCA
Spirit Lake, IA
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