Using the Visual Studio 6.0 Driver Build Environment New York

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

Local Companies

Roth Controls
(585) 872-0220
841 Holt Rd
Rochester, NY
CompareTechProviders.com
518-207-3445
5 Washington Place
Troy, NY
American Micro, Inc.
(716) 861-1412
1659 North Forest Rd.
Buffalo, NY
Software Solutions Group
(716) 568-2040
6465 Transit Rd.
East Amherst, NY
IT HealthTrack, Inc.
(716) 630-0063
6500 Main St., Ste. 3
Williamsville, NY
COMAND Solutions
(800) 598-0869 ext. 88
110 Elmwood Ave.
Buffalo, NY
Globalquest Solutions, Inc.
(716) 601-3524
435 Lawrence Bell Dr., Ste. 7
Williamsville, NY
Viewpoint Software Solutions Inc
(585) 475-9555
800 W Metro Park
Rochester, NY
KIC Chemicals Inc.
(845) 883-5306 ext. 301
87 South Ohioville Road
New Paltz, NY
Angus MacDonald
(845) 527-9792
27D Colonial Drive
New Paltz, NY

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

Roth Controls

(585) 872-0220
841 Holt Rd
Rochester, NY
http://www.leojroth.com

Regional Articles
- Using the Visual Studio 6.0 Driver Build Environment Albany NY
- Using the Visual Studio 6.0 Driver Build Environment Amityville NY
- Using the Visual Studio 6.0 Driver Build Environment Amsterdam NY
- Using the Visual Studio 6.0 Driver Build Environment Arverne NY
- Using the Visual Studio 6.0 Driver Build Environment Astoria NY
- Using the Visual Studio 6.0 Driver Build Environment Auburn NY
- Using the Visual Studio 6.0 Driver Build Environment Babylon NY
- Using the Visual Studio 6.0 Driver Build Environment Baldwin NY
- Using the Visual Studio 6.0 Driver Build Environment Baldwinsville NY
- Using the Visual Studio 6.0 Driver Build Environment Ballston Spa NY
- Using the Visual Studio 6.0 Driver Build Environment Bay Shore NY
- Using the Visual Studio 6.0 Driver Build Environment Bayside NY
- Using the Visual Studio 6.0 Driver Build Environment Beacon NY
- Using the Visual Studio 6.0 Driver Build Environment Bellerose NY
- Using the Visual Studio 6.0 Driver Build Environment Bellmore NY
- Using the Visual Studio 6.0 Driver Build Environment Bethpage NY
- Using the Visual Studio 6.0 Driver Build Environment Binghamton NY
- Using the Visual Studio 6.0 Driver Build Environment Brentwood NY
- Using the Visual Studio 6.0 Driver Build Environment Brewster NY
- Using the Visual Studio 6.0 Driver Build Environment Brockport NY
- Using the Visual Studio 6.0 Driver Build Environment Bronx NY
- Using the Visual Studio 6.0 Driver Build Environment Bronxville NY
- Using the Visual Studio 6.0 Driver Build Environment Brooklyn NY
- Using the Visual Studio 6.0 Driver Build Environment Buffalo NY
- Using the Visual Studio 6.0 Driver Build Environment Cambria Heights NY
- Using the Visual Studio 6.0 Driver Build Environment Camillus NY
- Using the Visual Studio 6.0 Driver Build Environment Canandaigua NY
- Using the Visual Studio 6.0 Driver Build Environment Centereach NY
- Using the Visual Studio 6.0 Driver Build Environment Central Islip NY
- Using the Visual Studio 6.0 Driver Build Environment Clifton Park NY
- Using the Visual Studio 6.0 Driver Build Environment Cohoes NY
- Using the Visual Studio 6.0 Driver Build Environment College Point NY
- Using the Visual Studio 6.0 Driver Build Environment Commack NY
- Using the Visual Studio 6.0 Driver Build Environment Copiague NY
- Using the Visual Studio 6.0 Driver Build Environment Coram NY
- Using the Visual Studio 6.0 Driver Build Environment Corning NY
- Using the Visual Studio 6.0 Driver Build Environment Corona NY
- Using the Visual Studio 6.0 Driver Build Environment Cortland NY
- Using the Visual Studio 6.0 Driver Build Environment Cortlandt Manor NY
- Using the Visual Studio 6.0 Driver Build Environment Deer Park NY
- Using the Visual Studio 6.0 Driver Build Environment Delmar NY
- Using the Visual Studio 6.0 Driver Build Environment Depew NY
- Using the Visual Studio 6.0 Driver Build Environment Dunkirk NY
- Using the Visual Studio 6.0 Driver Build Environment East Amherst NY
- Using the Visual Studio 6.0 Driver Build Environment East Aurora NY
- Using the Visual Studio 6.0 Driver Build Environment East Elmhurst NY
- Using the Visual Studio 6.0 Driver Build Environment East Islip NY
- Using the Visual Studio 6.0 Driver Build Environment East Meadow NY
- Using the Visual Studio 6.0 Driver Build Environment East Northport NY
- Using the Visual Studio 6.0 Driver Build Environment East Setauket NY
- Using the Visual Studio 6.0 Driver Build Environment East Syracuse NY
- Using the Visual Studio 6.0 Driver Build Environment Elmhurst NY
- Using the Visual Studio 6.0 Driver Build Environment Elmira NY
- Using the Visual Studio 6.0 Driver Build Environment Elmont NY
- Using the Visual Studio 6.0 Driver Build Environment Endicott NY
- Using the Visual Studio 6.0 Driver Build Environment Fairport NY
- Using the Visual Studio 6.0 Driver Build Environment Far Rockaway NY
- Using the Visual Studio 6.0 Driver Build Environment Farmingdale NY
- Using the Visual Studio 6.0 Driver Build Environment Farmingville NY
- Using the Visual Studio 6.0 Driver Build Environment Floral Park NY
- Using the Visual Studio 6.0 Driver Build Environment Flushing NY
- Using the Visual Studio 6.0 Driver Build Environment Forest Hills NY
- Using the Visual Studio 6.0 Driver Build Environment Franklin Square NY
- Using the Visual Studio 6.0 Driver Build Environment Fredonia NY
- Using the Visual Studio 6.0 Driver Build Environment Freeport NY
- Using the Visual Studio 6.0 Driver Build Environment Fresh Meadows NY
- Using the Visual Studio 6.0 Driver Build Environment Fulton NY
- Using the Visual Studio 6.0 Driver Build Environment Garden City NY
- Using the Visual Studio 6.0 Driver Build Environment Glen Cove NY
- Using the Visual Studio 6.0 Driver Build Environment Glen Oaks NY
- Using the Visual Studio 6.0 Driver Build Environment Glens Falls NY
- Using the Visual Studio 6.0 Driver Build Environment Gloversville NY
- Using the Visual Studio 6.0 Driver Build Environment Great Neck NY
- Using the Visual Studio 6.0 Driver Build Environment Hamburg NY
- Using the Visual Studio 6.0 Driver Build Environment Hauppauge NY
- Using the Visual Studio 6.0 Driver Build Environment Hempstead NY
- Using the Visual Studio 6.0 Driver Build Environment Hicksville NY
- Using the Visual Studio 6.0 Driver Build Environment Hilton NY
- Using the Visual Studio 6.0 Driver Build Environment Holbrook NY
- Using the Visual Studio 6.0 Driver Build Environment Hollis NY
- Using the Visual Studio 6.0 Driver Build Environment Hopewell Junction NY
- Using the Visual Studio 6.0 Driver Build Environment Horseheads NY
- Using the Visual Studio 6.0 Driver Build Environment Howard Beach NY
- Using the Visual Studio 6.0 Driver Build Environment Huntington NY
- Using the Visual Studio 6.0 Driver Build Environment Huntington Station NY
- Using the Visual Studio 6.0 Driver Build Environment Islip NY
- Using the Visual Studio 6.0 Driver Build Environment Ithaca NY
- Using the Visual Studio 6.0 Driver Build Environment Jackson Heights NY
- Using the Visual Studio 6.0 Driver Build Environment Jamaica NY
- Using the Visual Studio 6.0 Driver Build Environment Jamestown NY
- Using the Visual Studio 6.0 Driver Build Environment Kew Gardens NY
- Using the Visual Studio 6.0 Driver Build Environment Kings Park NY
- Using the Visual Studio 6.0 Driver Build Environment Kingston NY
- Using the Visual Studio 6.0 Driver Build Environment Lancaster NY
- Using the Visual Studio 6.0 Driver Build Environment Larchmont NY
- Using the Visual Studio 6.0 Driver Build Environment Latham NY
- Using the Visual Studio 6.0 Driver Build Environment Levittown NY
- Using the Visual Studio 6.0 Driver Build Environment Lindenhurst NY
- Using the Visual Studio 6.0 Driver Build Environment Little Neck NY
- Using the Visual Studio 6.0 Driver Build Environment Liverpool NY
- Using the Visual Studio 6.0 Driver Build Environment Lockport NY
- Using the Visual Studio 6.0 Driver Build Environment Long Beach NY
- Using the Visual Studio 6.0 Driver Build Environment Long Island City NY
- Using the Visual Studio 6.0 Driver Build Environment Lynbrook NY
- Using the Visual Studio 6.0 Driver Build Environment Mahopac NY
- Using the Visual Studio 6.0 Driver Build Environment Malone NY
- Using the Visual Studio 6.0 Driver Build Environment Mamaroneck NY
- Using the Visual Studio 6.0 Driver Build Environment Manhasset NY
- Using the Visual Studio 6.0 Driver Build Environment Manlius NY
- Using the Visual Studio 6.0 Driver Build Environment Maspeth NY
- Using the Visual Studio 6.0 Driver Build Environment Massapequa NY
- Using the Visual Studio 6.0 Driver Build Environment Massapequa Park NY
- Using the Visual Studio 6.0 Driver Build Environment Massena NY
- Using the Visual Studio 6.0 Driver Build Environment Mastic NY
- Using the Visual Studio 6.0 Driver Build Environment Melville NY
- Using the Visual Studio 6.0 Driver Build Environment Merrick NY
- Using the Visual Studio 6.0 Driver Build Environment Middle Village NY
- Using the Visual Studio 6.0 Driver Build Environment Middletown NY
- Using the Visual Studio 6.0 Driver Build Environment Mineola NY
- Using the Visual Studio 6.0 Driver Build Environment Monroe NY
- Using the Visual Studio 6.0 Driver Build Environment Monsey NY
- Using the Visual Studio 6.0 Driver Build Environment Mount Kisco NY
- Using the Visual Studio 6.0 Driver Build Environment Mount Vernon NY
- Using the Visual Studio 6.0 Driver Build Environment Nanuet NY
- Using the Visual Studio 6.0 Driver Build Environment New City NY
- Using the Visual Studio 6.0 Driver Build Environment New Hartford NY
- Using the Visual Studio 6.0 Driver Build Environment New Hyde Park NY
- Using the Visual Studio 6.0 Driver Build Environment New Paltz NY
- Using the Visual Studio 6.0 Driver Build Environment New Rochelle NY
- Using the Visual Studio 6.0 Driver Build Environment New Windsor NY
- Using the Visual Studio 6.0 Driver Build Environment New York NY
- Using the Visual Studio 6.0 Driver Build Environment Newburgh NY
- Using the Visual Studio 6.0 Driver Build Environment Niagara Falls NY
- Using the Visual Studio 6.0 Driver Build Environment North Babylon NY
- Using the Visual Studio 6.0 Driver Build Environment North Tonawanda NY
- Using the Visual Studio 6.0 Driver Build Environment Nyack NY
- Using the Visual Studio 6.0 Driver Build Environment Oakland Gardens NY
- Using the Visual Studio 6.0 Driver Build Environment Oceanside NY
- Using the Visual Studio 6.0 Driver Build Environment Ogdensburg NY
- Using the Visual Studio 6.0 Driver Build Environment Olean NY
- Using the Visual Studio 6.0 Driver Build Environment Oneonta NY
- Using the Visual Studio 6.0 Driver Build Environment Orchard Park NY
- Using the Visual Studio 6.0 Driver Build Environment Ossining NY
- Using the Visual Studio 6.0 Driver Build Environment Oswego NY
- Using the Visual Studio 6.0 Driver Build Environment Ozone Park NY
- Using the Visual Studio 6.0 Driver Build Environment Patchogue NY
- Using the Visual Studio 6.0 Driver Build Environment Pearl River NY
- Using the Visual Studio 6.0 Driver Build Environment Peekskill NY
- Using the Visual Studio 6.0 Driver Build Environment Penfield NY
- Using the Visual Studio 6.0 Driver Build Environment Pittsford NY
- Using the Visual Studio 6.0 Driver Build Environment Plainview NY
- Using the Visual Studio 6.0 Driver Build Environment Plattsburgh NY
- Using the Visual Studio 6.0 Driver Build Environment Port Chester NY
- Using the Visual Studio 6.0 Driver Build Environment Port Jefferson Station NY
- Using the Visual Studio 6.0 Driver Build Environment Port Washington NY
- Using the Visual Studio 6.0 Driver Build Environment Potsdam NY
- Using the Visual Studio 6.0 Driver Build Environment Poughkeepsie NY
- Using the Visual Studio 6.0 Driver Build Environment Queens Village NY
- Using the Visual Studio 6.0 Driver Build Environment Queensbury NY
- Using the Visual Studio 6.0 Driver Build Environment Rego Park NY
- Using the Visual Studio 6.0 Driver Build Environment Rensselaer NY
- Using the Visual Studio 6.0 Driver Build Environment Richmond Hill NY
- Using the Visual Studio 6.0 Driver Build Environment Ridgewood NY
- Using the Visual Studio 6.0 Driver Build Environment Riverhead NY
- Using the Visual Studio 6.0 Driver Build Environment Rochester NY
- Using the Visual Studio 6.0 Driver Build Environment Rockaway Park NY
- Using the Visual Studio 6.0 Driver Build Environment Rockville Centre NY
- Using the Visual Studio 6.0 Driver Build Environment Rome NY
- Using the Visual Studio 6.0 Driver Build Environment Ronkonkoma NY
- Using the Visual Studio 6.0 Driver Build Environment Roosevelt NY
- Using the Visual Studio 6.0 Driver Build Environment Rosedale NY
- Using the Visual Studio 6.0 Driver Build Environment Rye NY
- Using the Visual Studio 6.0 Driver Build Environment Saint Albans NY
- Using the Visual Studio 6.0 Driver Build Environment Saint James NY
- Using the Visual Studio 6.0 Driver Build Environment Saratoga Springs NY
- Using the Visual Studio 6.0 Driver Build Environment Saugerties NY
- Using the Visual Studio 6.0 Driver Build Environment Sayville NY
- Using the Visual Studio 6.0 Driver Build Environment Scarsdale NY
- Using the Visual Studio 6.0 Driver Build Environment Schenectady NY
- Using the Visual Studio 6.0 Driver Build Environment Selden NY
- Using the Visual Studio 6.0 Driver Build Environment Shirley NY
- Using the Visual Studio 6.0 Driver Build Environment Smithtown NY
- Using the Visual Studio 6.0 Driver Build Environment South Ozone Park NY
- Using the Visual Studio 6.0 Driver Build Environment South Richmond Hill NY
- Using the Visual Studio 6.0 Driver Build Environment Spencerport NY
- Using the Visual Studio 6.0 Driver Build Environment Spring Valley NY
- Using the Visual Studio 6.0 Driver Build Environment Springfield Gardens NY
- Using the Visual Studio 6.0 Driver Build Environment Staten Island NY
- Using the Visual Studio 6.0 Driver Build Environment Stony Brook NY
- Using the Visual Studio 6.0 Driver Build Environment Suffern NY
- Using the Visual Studio 6.0 Driver Build Environment Sunnyside NY
- Using the Visual Studio 6.0 Driver Build Environment Syosset NY
- Using the Visual Studio 6.0 Driver Build Environment Syracuse NY
- Using the Visual Studio 6.0 Driver Build Environment Tarrytown NY
- Using the Visual Studio 6.0 Driver Build Environment Tonawanda NY
- Using the Visual Studio 6.0 Driver Build Environment Troy NY
- Using the Visual Studio 6.0 Driver Build Environment Uniondale NY
- Using the Visual Studio 6.0 Driver Build Environment Utica NY
- Using the Visual Studio 6.0 Driver Build Environment Valley Stream NY
- Using the Visual Studio 6.0 Driver Build Environment Vestal NY
- Using the Visual Studio 6.0 Driver Build Environment Wantagh NY
- Using the Visual Studio 6.0 Driver Build Environment Wappingers Falls NY
- Using the Visual Studio 6.0 Driver Build Environment Watertown NY
- Using the Visual Studio 6.0 Driver Build Environment Watervliet NY
- Using the Visual Studio 6.0 Driver Build Environment Webster NY
- Using the Visual Studio 6.0 Driver Build Environment West Babylon NY
- Using the Visual Studio 6.0 Driver Build Environment West Hempstead NY
- Using the Visual Studio 6.0 Driver Build Environment West Islip NY
- Using the Visual Studio 6.0 Driver Build Environment Westbury NY
- Using the Visual Studio 6.0 Driver Build Environment White Plains NY
- Using the Visual Studio 6.0 Driver Build Environment Whitestone NY
- Using the Visual Studio 6.0 Driver Build Environment Woodhaven NY
- Using the Visual Studio 6.0 Driver Build Environment Woodside NY
- Using the Visual Studio 6.0 Driver Build Environment Wyandanch NY
- Using the Visual Studio 6.0 Driver Build Environment Yonkers NY
- Using the Visual Studio 6.0 Driver Build Environment Yorktown Heights NY
Related Local Events
I.T. Committee Meeting
Dates: 12/17/2009 - 12/17/2009
Location: Queens Chamber Board Room
Jackson Heights, NY
View Details

BIO CEO & INVESTOR CONFERENCE 2010
Dates: 2/8/2010 - 2/8/2010
Location: Waldorf-Astoria
New York, NY
View Details

TradeTech USA
Dates: 3/1/2010 - 3/3/2010
Location: Marriott Marquis New York
New York, NY
View Details

Biotechnica America
Dates: 4/20/2010 - 4/22/2010
Location: Jacob K. Javits Convention Center
New York, NY
View Details

I.T. Committee Meeting
Dates: 11/19/2009 - 11/19/2009
Location: Queens Chamber Board Room
Jackson Heights, NY
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