Using the Visual Studio 6.0 Driver Build Environment Illinois

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

Local Companies

Softweb Solutions
866-345-7638
5707 Breezeland Road
Chicago, IL
STL Technology Partners
(309) 699-6389
630 High Point Lane
East Peoria, IL
DMi Technology Group
(309) 828-4439
406 Kays Drive
Normal, IL
InterraIT
(630) 873-3525
Two Mid America Plaza
Oakbrook Terrace, IL
StrategicSytems International
+1.847.424.2497
820 Davis Street,
Evanston, IL
Quantum Design (Quantum Software Solutions)
815-885-1300
8400 E. Riverside Blvd
Rockford, IL
IT360, Inc.
(309) 283-2915
311 SW Water Street
Peoria, IL
Stellar Systems, Inc
(309) 677-7350
222 NE Monroe St. #902
Peoria, IL
Stellar Systems, Inc.
(309) 677-7350
222 NE Monroe St. #902
Peoria, IL
IFS
888-437-4968
300 Park Boulevard, Suite 555
Itasca, IL

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

Softweb Solutions

IT Consultant Company offers custom software development services, Flex, ROR, Web application development services

866-345-7638
5707 Breezeland Road
Chicago, IL
http://www.SoftwebSolutions.com

Softweb Solutions is a prominent name in providing exclusive software development services for SMEs, specializing in custom application development, website development, system integration and software testing and quality assurance, with industry-specific software expertise in High-Technology, Software, Automotive, Financial Services and Entertainment sectors.

Custom Software Development and IT Consultant

Regional Articles
- Using the Visual Studio 6.0 Driver Build Environment Addison IL
- Using the Visual Studio 6.0 Driver Build Environment Algonquin IL
- Using the Visual Studio 6.0 Driver Build Environment Alsip IL
- Using the Visual Studio 6.0 Driver Build Environment Alton IL
- Using the Visual Studio 6.0 Driver Build Environment Arlington Heights IL
- Using the Visual Studio 6.0 Driver Build Environment Aurora IL
- Using the Visual Studio 6.0 Driver Build Environment Barrington IL
- Using the Visual Studio 6.0 Driver Build Environment Bartlett IL
- Using the Visual Studio 6.0 Driver Build Environment Batavia IL
- Using the Visual Studio 6.0 Driver Build Environment Belleville IL
- Using the Visual Studio 6.0 Driver Build Environment Bellwood IL
- Using the Visual Studio 6.0 Driver Build Environment Belvidere IL
- Using the Visual Studio 6.0 Driver Build Environment Bensenville IL
- Using the Visual Studio 6.0 Driver Build Environment Berwyn IL
- Using the Visual Studio 6.0 Driver Build Environment Bloomingdale IL
- Using the Visual Studio 6.0 Driver Build Environment Bloomington IL
- Using the Visual Studio 6.0 Driver Build Environment Blue Island IL
- Using the Visual Studio 6.0 Driver Build Environment Bolingbrook IL
- Using the Visual Studio 6.0 Driver Build Environment Bourbonnais IL
- Using the Visual Studio 6.0 Driver Build Environment Bridgeview IL
- Using the Visual Studio 6.0 Driver Build Environment Buffalo Grove IL
- Using the Visual Studio 6.0 Driver Build Environment Calumet City IL
- Using the Visual Studio 6.0 Driver Build Environment Carbondale IL
- Using the Visual Studio 6.0 Driver Build Environment Carol Stream IL
- Using the Visual Studio 6.0 Driver Build Environment Carpentersville IL
- Using the Visual Studio 6.0 Driver Build Environment Champaign IL
- Using the Visual Studio 6.0 Driver Build Environment Chicago Heights IL
- Using the Visual Studio 6.0 Driver Build Environment Chicago IL
- Using the Visual Studio 6.0 Driver Build Environment Cicero IL
- Using the Visual Studio 6.0 Driver Build Environment Clarendon Hills IL
- Using the Visual Studio 6.0 Driver Build Environment Collinsville IL
- Using the Visual Studio 6.0 Driver Build Environment Country Club Hills IL
- Using the Visual Studio 6.0 Driver Build Environment Crete IL
- Using the Visual Studio 6.0 Driver Build Environment Crystal Lake IL
- Using the Visual Studio 6.0 Driver Build Environment Danville IL
- Using the Visual Studio 6.0 Driver Build Environment Decatur IL
- Using the Visual Studio 6.0 Driver Build Environment Deerfield IL
- Using the Visual Studio 6.0 Driver Build Environment Dekalb IL
- Using the Visual Studio 6.0 Driver Build Environment Des Plaines IL
- Using the Visual Studio 6.0 Driver Build Environment Dolton IL
- Using the Visual Studio 6.0 Driver Build Environment Downers Grove IL
- Using the Visual Studio 6.0 Driver Build Environment East Moline IL
- Using the Visual Studio 6.0 Driver Build Environment East Peoria IL
- Using the Visual Studio 6.0 Driver Build Environment East Saint Louis IL
- Using the Visual Studio 6.0 Driver Build Environment Edwardsville IL
- Using the Visual Studio 6.0 Driver Build Environment Effingham IL
- Using the Visual Studio 6.0 Driver Build Environment Elgin IL
- Using the Visual Studio 6.0 Driver Build Environment Elk Grove Village IL
- Using the Visual Studio 6.0 Driver Build Environment Elmhurst IL
- Using the Visual Studio 6.0 Driver Build Environment Elmwood Park IL
- Using the Visual Studio 6.0 Driver Build Environment Evanston IL
- Using the Visual Studio 6.0 Driver Build Environment Evergreen Park IL
- Using the Visual Studio 6.0 Driver Build Environment Fairview Heights IL
- Using the Visual Studio 6.0 Driver Build Environment Franklin Park IL
- Using the Visual Studio 6.0 Driver Build Environment Freeport IL
- Using the Visual Studio 6.0 Driver Build Environment Galesburg IL
- Using the Visual Studio 6.0 Driver Build Environment Glen Ellyn IL
- Using the Visual Studio 6.0 Driver Build Environment Glendale Heights IL
- Using the Visual Studio 6.0 Driver Build Environment Glenview IL
- Using the Visual Studio 6.0 Driver Build Environment Godfrey IL
- Using the Visual Studio 6.0 Driver Build Environment Granite City IL
- Using the Visual Studio 6.0 Driver Build Environment Grayslake IL
- Using the Visual Studio 6.0 Driver Build Environment Gurnee IL
- Using the Visual Studio 6.0 Driver Build Environment Harvey IL
- Using the Visual Studio 6.0 Driver Build Environment Harwood Heights IL
- Using the Visual Studio 6.0 Driver Build Environment Hazel Crest IL
- Using the Visual Studio 6.0 Driver Build Environment Highland Park IL
- Using the Visual Studio 6.0 Driver Build Environment Hinsdale IL
- Using the Visual Studio 6.0 Driver Build Environment Homewood IL
- Using the Visual Studio 6.0 Driver Build Environment Jacksonville IL
- Using the Visual Studio 6.0 Driver Build Environment Joliet IL
- Using the Visual Studio 6.0 Driver Build Environment Kankakee IL
- Using the Visual Studio 6.0 Driver Build Environment Kewanee IL
- Using the Visual Studio 6.0 Driver Build Environment La Grange IL
- Using the Visual Studio 6.0 Driver Build Environment Lake Bluff IL
- Using the Visual Studio 6.0 Driver Build Environment Lake Villa IL
- Using the Visual Studio 6.0 Driver Build Environment Lake Zurich IL
- Using the Visual Studio 6.0 Driver Build Environment Lansing IL
- Using the Visual Studio 6.0 Driver Build Environment Lemont IL
- Using the Visual Studio 6.0 Driver Build Environment Libertyville IL
- Using the Visual Studio 6.0 Driver Build Environment Lisle IL
- Using the Visual Studio 6.0 Driver Build Environment Lockport IL
- Using the Visual Studio 6.0 Driver Build Environment Lombard IL
- Using the Visual Studio 6.0 Driver Build Environment Loves Park IL
- Using the Visual Studio 6.0 Driver Build Environment Machesney Park IL
- Using the Visual Studio 6.0 Driver Build Environment Matteson IL
- Using the Visual Studio 6.0 Driver Build Environment Mattoon IL
- Using the Visual Studio 6.0 Driver Build Environment Maywood IL
- Using the Visual Studio 6.0 Driver Build Environment Mchenry IL
- Using the Visual Studio 6.0 Driver Build Environment Melrose Park IL
- Using the Visual Studio 6.0 Driver Build Environment Midlothian IL
- Using the Visual Studio 6.0 Driver Build Environment Mokena IL
- Using the Visual Studio 6.0 Driver Build Environment Moline IL
- Using the Visual Studio 6.0 Driver Build Environment Morris IL
- Using the Visual Studio 6.0 Driver Build Environment Morton Grove IL
- Using the Visual Studio 6.0 Driver Build Environment Morton IL
- Using the Visual Studio 6.0 Driver Build Environment Mount Prospect IL
- Using the Visual Studio 6.0 Driver Build Environment Mundelein IL
- Using the Visual Studio 6.0 Driver Build Environment Murphysboro IL
- Using the Visual Studio 6.0 Driver Build Environment Naperville IL
- Using the Visual Studio 6.0 Driver Build Environment New Lenox IL
- Using the Visual Studio 6.0 Driver Build Environment Niles IL
- Using the Visual Studio 6.0 Driver Build Environment Normal IL
- Using the Visual Studio 6.0 Driver Build Environment North Chicago IL
- Using the Visual Studio 6.0 Driver Build Environment Northbrook IL
- Using the Visual Studio 6.0 Driver Build Environment O Fallon IL
- Using the Visual Studio 6.0 Driver Build Environment Oak Forest IL
- Using the Visual Studio 6.0 Driver Build Environment Oak Lawn IL
- Using the Visual Studio 6.0 Driver Build Environment Oak Park IL
- Using the Visual Studio 6.0 Driver Build Environment Orland Park IL
- Using the Visual Studio 6.0 Driver Build Environment Palatine IL
- Using the Visual Studio 6.0 Driver Build Environment Palos Hills IL
- Using the Visual Studio 6.0 Driver Build Environment Park Forest IL
- Using the Visual Studio 6.0 Driver Build Environment Park Ridge IL
- Using the Visual Studio 6.0 Driver Build Environment Pekin IL
- Using the Visual Studio 6.0 Driver Build Environment Peoria IL
- Using the Visual Studio 6.0 Driver Build Environment Plainfield IL
- Using the Visual Studio 6.0 Driver Build Environment Prospect Heights IL
- Using the Visual Studio 6.0 Driver Build Environment Quincy IL
- Using the Visual Studio 6.0 Driver Build Environment Riverdale IL
- Using the Visual Studio 6.0 Driver Build Environment Rochelle IL
- Using the Visual Studio 6.0 Driver Build Environment Rock Falls IL
- Using the Visual Studio 6.0 Driver Build Environment Rock Island IL
- Using the Visual Studio 6.0 Driver Build Environment Rockford IL
- Using the Visual Studio 6.0 Driver Build Environment Rolling Meadows IL
- Using the Visual Studio 6.0 Driver Build Environment Romeoville IL
- Using the Visual Studio 6.0 Driver Build Environment Roscoe IL
- Using the Visual Studio 6.0 Driver Build Environment Roselle IL
- Using the Visual Studio 6.0 Driver Build Environment Round Lake IL
- Using the Visual Studio 6.0 Driver Build Environment Saint Charles IL
- Using the Visual Studio 6.0 Driver Build Environment Schaumburg IL
- Using the Visual Studio 6.0 Driver Build Environment Skokie IL
- Using the Visual Studio 6.0 Driver Build Environment South Elgin IL
- Using the Visual Studio 6.0 Driver Build Environment South Holland IL
- Using the Visual Studio 6.0 Driver Build Environment Springfield IL
- Using the Visual Studio 6.0 Driver Build Environment Streamwood IL
- Using the Visual Studio 6.0 Driver Build Environment Streator IL
- Using the Visual Studio 6.0 Driver Build Environment Sycamore IL
- Using the Visual Studio 6.0 Driver Build Environment Taylorville IL
- Using the Visual Studio 6.0 Driver Build Environment Tinley Park IL
- Using the Visual Studio 6.0 Driver Build Environment Urbana IL
- Using the Visual Studio 6.0 Driver Build Environment Vernon Hills IL
- Using the Visual Studio 6.0 Driver Build Environment Villa Park IL
- Using the Visual Studio 6.0 Driver Build Environment Waukegan IL
- Using the Visual Studio 6.0 Driver Build Environment West Chicago IL
- Using the Visual Studio 6.0 Driver Build Environment Westchester IL
- Using the Visual Studio 6.0 Driver Build Environment Westmont IL
- Using the Visual Studio 6.0 Driver Build Environment Wheaton IL
- Using the Visual Studio 6.0 Driver Build Environment Wheeling IL
- Using the Visual Studio 6.0 Driver Build Environment Wilmette IL
- Using the Visual Studio 6.0 Driver Build Environment Wood Dale IL
- Using the Visual Studio 6.0 Driver Build Environment Woodridge IL
- Using the Visual Studio 6.0 Driver Build Environment Woodstock IL
- Using the Visual Studio 6.0 Driver Build Environment Zion IL
Related Local Events
Virtualization / Consolidation Strategies - Implementation Strategies
Dates: 12/10/2009 - 12/10/2009
Location: The Donald E. Stephens Convention Center
Rosemont, IL
View Details

BIO - International Convention and Exhibition for Biotechnology
Dates: 5/2/2010 - 5/5/2010
Location: McCormick Place
Chicago, IL
View Details

PTXi - Process Technology Expo International
Dates: 5/4/2010 - 5/6/2010
Location: Donald E. Stephens Convention Center
Rosemont, IL
View Details

The CIO Agenda - 2010 and Beyond
Dates: 11/5/2009 - 11/5/2009
Location: The Donald E. Stephens Convention Center
Rosemont, IL
View Details

SuperComm
Dates: 10/21/2009 - 10/23/2009
Location: McCormick Place, Chicago
Chicago, IL
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