Using the Visual Studio 6.0 Driver Build Environment New Jersey

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

Local Companies

Power Vision
(973) 623-8000
24 Commerce St
Newark, NJ
iCIMS
800-889-4422
1301 State Route 36
Hazlet, NJ
Mantra Information Services
973-270-0995
10 North Park Place, Suite 210
Morristown, NJ
TAKE Enterprise Services, Inc.
609-275-8384
502 Carnegie Center
Princeton, NJ
Language Success
(973) 648-0236
1 Newark Airport
Newark, NJ
Shelko Consulting LLC
201-478-7170
214 State St
Hackensack, NJ
Shelko Consulting LLC
201-478-7170
214 State Street
Hackensack, NJ
Accession Technology Accounting & CRM Software Consulting
888-808-1117
PO Box 400
Ridgewood, NJ
Bon Trade Solutions
(973) 623-0093
744 Broad St
Newark, NJ
Popkin Software & Systems Inc
(212) 269-3062
55 Broadway
Newark, NJ

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

Power Vision

(973) 623-8000
24 Commerce St
Newark, NJ

Regional Articles
- Using the Visual Studio 6.0 Driver Build Environment Absecon NJ
- Using the Visual Studio 6.0 Driver Build Environment Asbury Park NJ
- Using the Visual Studio 6.0 Driver Build Environment Atlantic City NJ
- Using the Visual Studio 6.0 Driver Build Environment Barnegat NJ
- Using the Visual Studio 6.0 Driver Build Environment Basking Ridge NJ
- Using the Visual Studio 6.0 Driver Build Environment Bayonne NJ
- Using the Visual Studio 6.0 Driver Build Environment Bayville NJ
- Using the Visual Studio 6.0 Driver Build Environment Belle Mead NJ
- Using the Visual Studio 6.0 Driver Build Environment Belleville NJ
- Using the Visual Studio 6.0 Driver Build Environment Belmar NJ
- Using the Visual Studio 6.0 Driver Build Environment Bergenfield NJ
- Using the Visual Studio 6.0 Driver Build Environment Blackwood NJ
- Using the Visual Studio 6.0 Driver Build Environment Bloomfield NJ
- Using the Visual Studio 6.0 Driver Build Environment Boonton NJ
- Using the Visual Studio 6.0 Driver Build Environment Bordentown NJ
- Using the Visual Studio 6.0 Driver Build Environment Brick NJ
- Using the Visual Studio 6.0 Driver Build Environment Bridgeton NJ
- Using the Visual Studio 6.0 Driver Build Environment Bridgewater NJ
- Using the Visual Studio 6.0 Driver Build Environment Browns Mills NJ
- Using the Visual Studio 6.0 Driver Build Environment Burlington NJ
- Using the Visual Studio 6.0 Driver Build Environment Caldwell NJ
- Using the Visual Studio 6.0 Driver Build Environment Camden NJ
- Using the Visual Studio 6.0 Driver Build Environment Cape May Court House NJ
- Using the Visual Studio 6.0 Driver Build Environment Cape May NJ
- Using the Visual Studio 6.0 Driver Build Environment Carteret NJ
- Using the Visual Studio 6.0 Driver Build Environment Cherry Hill NJ
- Using the Visual Studio 6.0 Driver Build Environment Clark NJ
- Using the Visual Studio 6.0 Driver Build Environment Clementon NJ
- Using the Visual Studio 6.0 Driver Build Environment Cliffside Park NJ
- Using the Visual Studio 6.0 Driver Build Environment Clifton NJ
- Using the Visual Studio 6.0 Driver Build Environment Collingswood NJ
- Using the Visual Studio 6.0 Driver Build Environment Colonia NJ
- Using the Visual Studio 6.0 Driver Build Environment Cranford NJ
- Using the Visual Studio 6.0 Driver Build Environment Denville NJ
- Using the Visual Studio 6.0 Driver Build Environment Deptford NJ
- Using the Visual Studio 6.0 Driver Build Environment Dumont NJ
- Using the Visual Studio 6.0 Driver Build Environment East Brunswick NJ
- Using the Visual Studio 6.0 Driver Build Environment East Orange NJ
- Using the Visual Studio 6.0 Driver Build Environment Eatontown NJ
- Using the Visual Studio 6.0 Driver Build Environment Edison NJ
- Using the Visual Studio 6.0 Driver Build Environment Egg Harbor Township NJ
- Using the Visual Studio 6.0 Driver Build Environment Elizabeth NJ
- Using the Visual Studio 6.0 Driver Build Environment Englewood NJ
- Using the Visual Studio 6.0 Driver Build Environment Englishtown NJ
- Using the Visual Studio 6.0 Driver Build Environment Ewing NJ
- Using the Visual Studio 6.0 Driver Build Environment Fair Lawn NJ
- Using the Visual Studio 6.0 Driver Build Environment Flemington NJ
- Using the Visual Studio 6.0 Driver Build Environment Forked River NJ
- Using the Visual Studio 6.0 Driver Build Environment Fort Lee NJ
- Using the Visual Studio 6.0 Driver Build Environment Freehold NJ
- Using the Visual Studio 6.0 Driver Build Environment Garfield NJ
- Using the Visual Studio 6.0 Driver Build Environment Glassboro NJ
- Using the Visual Studio 6.0 Driver Build Environment Hackensack NJ
- Using the Visual Studio 6.0 Driver Build Environment Hackettstown NJ
- Using the Visual Studio 6.0 Driver Build Environment Haddon Township NJ
- Using the Visual Studio 6.0 Driver Build Environment Haddonfield NJ
- Using the Visual Studio 6.0 Driver Build Environment Haledon NJ
- Using the Visual Studio 6.0 Driver Build Environment Hammonton NJ
- Using the Visual Studio 6.0 Driver Build Environment Hazlet NJ
- Using the Visual Studio 6.0 Driver Build Environment Hightstown NJ
- Using the Visual Studio 6.0 Driver Build Environment Hillside NJ
- Using the Visual Studio 6.0 Driver Build Environment Hoboken NJ
- Using the Visual Studio 6.0 Driver Build Environment Holmdel NJ
- Using the Visual Studio 6.0 Driver Build Environment Howell NJ
- Using the Visual Studio 6.0 Driver Build Environment Irvington NJ
- Using the Visual Studio 6.0 Driver Build Environment Iselin NJ
- Using the Visual Studio 6.0 Driver Build Environment Jackson NJ
- Using the Visual Studio 6.0 Driver Build Environment Jersey City NJ
- Using the Visual Studio 6.0 Driver Build Environment Kearny NJ
- Using the Visual Studio 6.0 Driver Build Environment Keyport NJ
- Using the Visual Studio 6.0 Driver Build Environment Lakehurst NJ
- Using the Visual Studio 6.0 Driver Build Environment Lakewood NJ
- Using the Visual Studio 6.0 Driver Build Environment Linden NJ
- Using the Visual Studio 6.0 Driver Build Environment Livingston NJ
- Using the Visual Studio 6.0 Driver Build Environment Long Branch NJ
- Using the Visual Studio 6.0 Driver Build Environment Lyndhurst NJ
- Using the Visual Studio 6.0 Driver Build Environment Madison NJ
- Using the Visual Studio 6.0 Driver Build Environment Mahwah NJ
- Using the Visual Studio 6.0 Driver Build Environment Manahawkin NJ
- Using the Visual Studio 6.0 Driver Build Environment Manchester Township NJ
- Using the Visual Studio 6.0 Driver Build Environment Maple Shade NJ
- Using the Visual Studio 6.0 Driver Build Environment Maplewood NJ
- Using the Visual Studio 6.0 Driver Build Environment Marlboro NJ
- Using the Visual Studio 6.0 Driver Build Environment Marlton NJ
- Using the Visual Studio 6.0 Driver Build Environment Matawan NJ
- Using the Visual Studio 6.0 Driver Build Environment Mays Landing NJ
- Using the Visual Studio 6.0 Driver Build Environment Medford NJ
- Using the Visual Studio 6.0 Driver Build Environment Merchantville NJ
- Using the Visual Studio 6.0 Driver Build Environment Metuchen NJ
- Using the Visual Studio 6.0 Driver Build Environment Middletown NJ
- Using the Visual Studio 6.0 Driver Build Environment Millville NJ
- Using the Visual Studio 6.0 Driver Build Environment Monroe Township NJ
- Using the Visual Studio 6.0 Driver Build Environment Montclair NJ
- Using the Visual Studio 6.0 Driver Build Environment Moorestown NJ
- Using the Visual Studio 6.0 Driver Build Environment Morganville NJ
- Using the Visual Studio 6.0 Driver Build Environment Morris Plains NJ
- Using the Visual Studio 6.0 Driver Build Environment Morristown NJ
- Using the Visual Studio 6.0 Driver Build Environment Mount Holly NJ
- Using the Visual Studio 6.0 Driver Build Environment Mount Laurel NJ
- Using the Visual Studio 6.0 Driver Build Environment Neptune NJ
- Using the Visual Studio 6.0 Driver Build Environment New Brunswick NJ
- Using the Visual Studio 6.0 Driver Build Environment Newark NJ
- Using the Visual Studio 6.0 Driver Build Environment Newton NJ
- Using the Visual Studio 6.0 Driver Build Environment North Arlington NJ
- Using the Visual Studio 6.0 Driver Build Environment North Bergen NJ
- Using the Visual Studio 6.0 Driver Build Environment North Brunswick NJ
- Using the Visual Studio 6.0 Driver Build Environment Nutley NJ
- Using the Visual Studio 6.0 Driver Build Environment Ocean City NJ
- Using the Visual Studio 6.0 Driver Build Environment Old Bridge NJ
- Using the Visual Studio 6.0 Driver Build Environment Orange NJ
- Using the Visual Studio 6.0 Driver Build Environment Palisades Park NJ
- Using the Visual Studio 6.0 Driver Build Environment Paramus NJ
- Using the Visual Studio 6.0 Driver Build Environment Parlin NJ
- Using the Visual Studio 6.0 Driver Build Environment Parsippany NJ
- Using the Visual Studio 6.0 Driver Build Environment Passaic NJ
- Using the Visual Studio 6.0 Driver Build Environment Paterson NJ
- Using the Visual Studio 6.0 Driver Build Environment Pennsauken NJ
- Using the Visual Studio 6.0 Driver Build Environment Perth Amboy NJ
- Using the Visual Studio 6.0 Driver Build Environment Phillipsburg NJ
- Using the Visual Studio 6.0 Driver Build Environment Piscataway NJ
- Using the Visual Studio 6.0 Driver Build Environment Plainfield NJ
- Using the Visual Studio 6.0 Driver Build Environment Plainsboro NJ
- Using the Visual Studio 6.0 Driver Build Environment Pleasantville NJ
- Using the Visual Studio 6.0 Driver Build Environment Point Pleasant Beach NJ
- Using the Visual Studio 6.0 Driver Build Environment Princeton Junction NJ
- Using the Visual Studio 6.0 Driver Build Environment Princeton NJ
- Using the Visual Studio 6.0 Driver Build Environment Rahway NJ
- Using the Visual Studio 6.0 Driver Build Environment Ramsey NJ
- Using the Visual Studio 6.0 Driver Build Environment Red Bank NJ
- Using the Visual Studio 6.0 Driver Build Environment Rockaway NJ
- Using the Visual Studio 6.0 Driver Build Environment Rutherford NJ
- Using the Visual Studio 6.0 Driver Build Environment Sayreville NJ
- Using the Visual Studio 6.0 Driver Build Environment Scotch Plains NJ
- Using the Visual Studio 6.0 Driver Build Environment Secaucus NJ
- Using the Visual Studio 6.0 Driver Build Environment Sewell NJ
- Using the Visual Studio 6.0 Driver Build Environment Sicklerville NJ
- Using the Visual Studio 6.0 Driver Build Environment Somerset NJ
- Using the Visual Studio 6.0 Driver Build Environment Somerville NJ
- Using the Visual Studio 6.0 Driver Build Environment South Amboy NJ
- Using the Visual Studio 6.0 Driver Build Environment South Orange NJ
- Using the Visual Studio 6.0 Driver Build Environment South Plainfield NJ
- Using the Visual Studio 6.0 Driver Build Environment South River NJ
- Using the Visual Studio 6.0 Driver Build Environment Summit NJ
- Using the Visual Studio 6.0 Driver Build Environment Teaneck NJ
- Using the Visual Studio 6.0 Driver Build Environment Toms River NJ
- Using the Visual Studio 6.0 Driver Build Environment Trenton NJ
- Using the Visual Studio 6.0 Driver Build Environment Tuckerton NJ
- Using the Visual Studio 6.0 Driver Build Environment Union City NJ
- Using the Visual Studio 6.0 Driver Build Environment Union NJ
- Using the Visual Studio 6.0 Driver Build Environment Vincentown NJ
- Using the Visual Studio 6.0 Driver Build Environment Vineland NJ
- Using the Visual Studio 6.0 Driver Build Environment Voorhees NJ
- Using the Visual Studio 6.0 Driver Build Environment Wayne NJ
- Using the Visual Studio 6.0 Driver Build Environment West Milford NJ
- Using the Visual Studio 6.0 Driver Build Environment West New York NJ
- Using the Visual Studio 6.0 Driver Build Environment West Orange NJ
- Using the Visual Studio 6.0 Driver Build Environment Westfield NJ
- Using the Visual Studio 6.0 Driver Build Environment Westwood NJ
- Using the Visual Studio 6.0 Driver Build Environment Williamstown NJ
- Using the Visual Studio 6.0 Driver Build Environment Willingboro NJ
- Using the Visual Studio 6.0 Driver Build Environment Wyckoff NJ
Related Local Event
Computer Technology Expo
Dates: 7/21/2009 - 7/23/2009
Location: Atlantic City Convention Center
Atlantic City, NJ
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