Using the Visual Studio 6.0 Driver Build Environment Missouri

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

Local Companies

Punch Software LLC
816-891-0025
7900 NW 100th St
Kansas City, MO
Trabon Solutions
816-926-9800
420 E Bannister RD
Kansas City, MO
Drafix Software
816-842-4955
114 W 3rd St
Kansas City, MO
Client Server Solutions Inc
314-523-4400
2008 Altom CT
St. Louis, MO
Open Software Technology
314-854-9138
7777 Bonhomme Ave
St. Louis, MO
Quest Software Inc
314-523-4400
2008 Altom CT
St. Louis, MO
Wonderware Central
888-676-9933
Two City Place Drive
St. Louis, MO
STL EHR Group
314-477-7459
689 Craig Road
Creve Coeur, MO
Amgraf Inc
816-474-4797
1501 Oak St
Kansas City, MO
Digital Consulting & Software
314-682-2350
12655 Olive Blvd
St. Louis, MO

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

Punch Software LLC

816-891-0025
7900 NW 100th St
Kansas City, MO

Regional Articles
- Using the Visual Studio 6.0 Driver Build Environment Arnold MO
- Using the Visual Studio 6.0 Driver Build Environment Ballwin MO
- Using the Visual Studio 6.0 Driver Build Environment Belton MO
- Using the Visual Studio 6.0 Driver Build Environment Blue Springs MO
- Using the Visual Studio 6.0 Driver Build Environment Bolivar MO
- Using the Visual Studio 6.0 Driver Build Environment Branson MO
- Using the Visual Studio 6.0 Driver Build Environment Cape Girardeau MO
- Using the Visual Studio 6.0 Driver Build Environment Chesterfield MO
- Using the Visual Studio 6.0 Driver Build Environment Columbia MO
- Using the Visual Studio 6.0 Driver Build Environment De Soto MO
- Using the Visual Studio 6.0 Driver Build Environment Excelsior Springs MO
- Using the Visual Studio 6.0 Driver Build Environment Fenton MO
- Using the Visual Studio 6.0 Driver Build Environment Festus MO
- Using the Visual Studio 6.0 Driver Build Environment Florissant MO
- Using the Visual Studio 6.0 Driver Build Environment Grandview MO
- Using the Visual Studio 6.0 Driver Build Environment Hannibal MO
- Using the Visual Studio 6.0 Driver Build Environment Hazelwood MO
- Using the Visual Studio 6.0 Driver Build Environment Independence MO
- Using the Visual Studio 6.0 Driver Build Environment Jefferson City MO
- Using the Visual Studio 6.0 Driver Build Environment Joplin MO
- Using the Visual Studio 6.0 Driver Build Environment Kansas City MO
- Using the Visual Studio 6.0 Driver Build Environment Kirksville MO
- Using the Visual Studio 6.0 Driver Build Environment Lebanon MO
- Using the Visual Studio 6.0 Driver Build Environment Lees Summit MO
- Using the Visual Studio 6.0 Driver Build Environment Liberty MO
- Using the Visual Studio 6.0 Driver Build Environment Maryland Heights MO
- Using the Visual Studio 6.0 Driver Build Environment Moberly MO
- Using the Visual Studio 6.0 Driver Build Environment Neosho MO
- Using the Visual Studio 6.0 Driver Build Environment Nixa MO
- Using the Visual Studio 6.0 Driver Build Environment O Fallon MO
- Using the Visual Studio 6.0 Driver Build Environment Pacific MO
- Using the Visual Studio 6.0 Driver Build Environment Park Hills MO
- Using the Visual Studio 6.0 Driver Build Environment Perryville MO
- Using the Visual Studio 6.0 Driver Build Environment Poplar Bluff MO
- Using the Visual Studio 6.0 Driver Build Environment Rolla MO
- Using the Visual Studio 6.0 Driver Build Environment Saint Ann MO
- Using the Visual Studio 6.0 Driver Build Environment Saint Charles MO
- Using the Visual Studio 6.0 Driver Build Environment Saint Joseph MO
- Using the Visual Studio 6.0 Driver Build Environment Saint Louis MO
- Using the Visual Studio 6.0 Driver Build Environment Saint Peters MO
- Using the Visual Studio 6.0 Driver Build Environment Sedalia MO
- Using the Visual Studio 6.0 Driver Build Environment Sikeston MO
- Using the Visual Studio 6.0 Driver Build Environment Springfield MO
- Using the Visual Studio 6.0 Driver Build Environment Warrensburg MO
- Using the Visual Studio 6.0 Driver Build Environment West Plains MO
Related Local Events
Ozarks Technical Community College Center for Workforce Development: IT Consortium Planning Meeting
Dates: 12/3/2009 - 12/3/2009
Location: Springfield Area Chamber of Commerce
Springfield, MO
View Details

60 Minutes to Success: WWW: Who, What and Where do I turn to for my IT needs
Dates: 10/7/2009 - 10/7/2009
Location: Springfield Area Chamber of Commerce
Springfield, MO
View Details

Girls in Science, Technology, Engineering and Mathematics: Exploring Opportunities and Opening Doors
Dates: 10/6/2009 - 10/6/2009
Location: Metropolitan Community College
Kansas City, MO
View Details

BarCampKC
Dates: 9/26/2009 - 9/26/2009
Location: JavaportKC
Kansas City, MO
View Details

Brain Food-Discover the 21st Century Virtual Office
Dates: 9/16/2009 - 9/16/2009
Location: World Trade Center Room
Kansas City, MO
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