Using the Visual Studio 6.0 Driver Build Environment Massachusetts

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

Local Companies

EMD Serono, Inc.
(781) 982-9000
1 Technology Place
Rockand, MA
Roxbury Technology Corporation
(617) 524-1020
3368 Washington Street
Jamaica Plain, MA
Edgewater Technology, Inc
(781) 246-3343
20 Harvard Mill Square
Wakefield, MA
Eze Castle Integration
(617) 217-3000
1 Federal Street, 9th Flr.
Boston, MA
CGI
(978) 946-3000
600 Federal Street
Andover, MA
JCALPRO
(617) 954-2345
415 Summer Street
Boston, MA
Bahwan CyberTek Inc.
(508) 652-0015
209 West Central Street, Ste. 312
Natick, MA
Cogent Communications
(617) 482-5546
1 Summer Street, Ste. 450
Boston, MA
Corda Technologies, Inc.
(978) 358-7388
11 Storeybrooke Drive
Newburyport, MA
KMT Software. Inc.
(617)4412855
50 Mount Vernon Street
Cambridge, MA

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

EMD Serono, Inc.

(781) 982-9000
1 Technology Place
Rockand, MA
http://www.emdserono.com/en/index.html

EMD Serono, Inc. is a leader in the biopharmaceutical arena, integrating cutting-edge science with unparalleled patient support systems to improve patient's lives. Focusing on specialized areas including neurodegenerative diseases, fertility, metabolic endocrinology, as well as oncology as an emerging area of expertise, EMD Serono is committed to discovering and developing innovative products that meet unmet medical needs

Related Articles
- Custom MSBuild Task Development with Visual C++ Massachusetts
Visual C++ 2010 sees the integration of MSBuild with Visual C++. MSBuild is Microsoft's common build engine and one of its key design goals is the ability to support a high-degree of flexibility in customizing the build process. See how a custom MSBuild task can be built in Visual C++, and how the task can be used to customize the build process of other Visual C++ 2010 projects.
- Configuring a ClickOnce Deployment Massachusetts
- An Active Server Pages Tutorial, Part 1 Massachusetts
- C# Tips and Tricks Massachusetts
- MSBuild Features for Visual C++ Massachusetts
- Visual Basic .NET Attributes Massachusetts
- Resizable Docking Window 2 Massachusetts
- Automating Repetitive Tasks in Visual Studio Massachusetts
- Visual Basic .NET as a Fully Object-Oriented Language Massachusetts
- Interacting with .NET WinForms, Part 1 Massachusetts
Regional Articles
- Using the Visual Studio 6.0 Driver Build Environment Acton MA
- Using the Visual Studio 6.0 Driver Build Environment Agawam MA
- Using the Visual Studio 6.0 Driver Build Environment Allston MA
- Using the Visual Studio 6.0 Driver Build Environment Amesbury MA
- Using the Visual Studio 6.0 Driver Build Environment Amherst MA
- Using the Visual Studio 6.0 Driver Build Environment Andover MA
- Using the Visual Studio 6.0 Driver Build Environment Arlington MA
- Using the Visual Studio 6.0 Driver Build Environment Attleboro MA
- Using the Visual Studio 6.0 Driver Build Environment Beverly MA
- Using the Visual Studio 6.0 Driver Build Environment Billerica MA
- Using the Visual Studio 6.0 Driver Build Environment Boston MA
- Using the Visual Studio 6.0 Driver Build Environment Braintree MA
- Using the Visual Studio 6.0 Driver Build Environment Bridgewater MA
- Using the Visual Studio 6.0 Driver Build Environment Brighton MA
- Using the Visual Studio 6.0 Driver Build Environment Brockton MA
- Using the Visual Studio 6.0 Driver Build Environment Brookline MA
- Using the Visual Studio 6.0 Driver Build Environment Buzzards Bay MA
- Using the Visual Studio 6.0 Driver Build Environment Cambridge MA
- Using the Visual Studio 6.0 Driver Build Environment Charlestown MA
- Using the Visual Studio 6.0 Driver Build Environment Chelmsford MA
- Using the Visual Studio 6.0 Driver Build Environment Chelsea MA
- Using the Visual Studio 6.0 Driver Build Environment Chicopee MA
- Using the Visual Studio 6.0 Driver Build Environment Danvers MA
- Using the Visual Studio 6.0 Driver Build Environment Dedham MA
- Using the Visual Studio 6.0 Driver Build Environment Dracut MA
- Using the Visual Studio 6.0 Driver Build Environment East Falmouth MA
- Using the Visual Studio 6.0 Driver Build Environment East Weymouth MA
- Using the Visual Studio 6.0 Driver Build Environment Easthampton MA
- Using the Visual Studio 6.0 Driver Build Environment Everett MA
- Using the Visual Studio 6.0 Driver Build Environment Fairhaven MA
- Using the Visual Studio 6.0 Driver Build Environment Fall River MA
- Using the Visual Studio 6.0 Driver Build Environment Fitchburg MA
- Using the Visual Studio 6.0 Driver Build Environment Foxboro MA
- Using the Visual Studio 6.0 Driver Build Environment Framingham MA
- Using the Visual Studio 6.0 Driver Build Environment Franklin MA
- Using the Visual Studio 6.0 Driver Build Environment Gardner MA
- Using the Visual Studio 6.0 Driver Build Environment Gloucester MA
- Using the Visual Studio 6.0 Driver Build Environment Haverhill MA
- Using the Visual Studio 6.0 Driver Build Environment Hingham MA
- Using the Visual Studio 6.0 Driver Build Environment Holyoke MA
- Using the Visual Studio 6.0 Driver Build Environment Hyannis MA
- Using the Visual Studio 6.0 Driver Build Environment Hyde Park MA
- Using the Visual Studio 6.0 Driver Build Environment Jamaica Plain MA
- Using the Visual Studio 6.0 Driver Build Environment Lawrence MA
- Using the Visual Studio 6.0 Driver Build Environment Leominster MA
- Using the Visual Studio 6.0 Driver Build Environment Lexington MA
- Using the Visual Studio 6.0 Driver Build Environment Longmeadow MA
- Using the Visual Studio 6.0 Driver Build Environment Lowell MA
- Using the Visual Studio 6.0 Driver Build Environment Ludlow MA
- Using the Visual Studio 6.0 Driver Build Environment Lynn MA
- Using the Visual Studio 6.0 Driver Build Environment Malden MA
- Using the Visual Studio 6.0 Driver Build Environment Marblehead MA
- Using the Visual Studio 6.0 Driver Build Environment Marlborough MA
- Using the Visual Studio 6.0 Driver Build Environment Mattapan MA
- Using the Visual Studio 6.0 Driver Build Environment Medford MA
- Using the Visual Studio 6.0 Driver Build Environment Melrose MA
- Using the Visual Studio 6.0 Driver Build Environment Methuen MA
- Using the Visual Studio 6.0 Driver Build Environment Middleboro MA
- Using the Visual Studio 6.0 Driver Build Environment Milford MA
- Using the Visual Studio 6.0 Driver Build Environment Milton MA
- Using the Visual Studio 6.0 Driver Build Environment Natick MA
- Using the Visual Studio 6.0 Driver Build Environment Needham MA
- Using the Visual Studio 6.0 Driver Build Environment New Bedford MA
- Using the Visual Studio 6.0 Driver Build Environment Newburyport MA
- Using the Visual Studio 6.0 Driver Build Environment Newton Center MA
- Using the Visual Studio 6.0 Driver Build Environment North Adams MA
- Using the Visual Studio 6.0 Driver Build Environment North Andover MA
- Using the Visual Studio 6.0 Driver Build Environment North Attleboro MA
- Using the Visual Studio 6.0 Driver Build Environment North Dartmouth MA
- Using the Visual Studio 6.0 Driver Build Environment Northampton MA
- Using the Visual Studio 6.0 Driver Build Environment Norton MA
- Using the Visual Studio 6.0 Driver Build Environment Norwood MA
- Using the Visual Studio 6.0 Driver Build Environment Peabody MA
- Using the Visual Studio 6.0 Driver Build Environment Pittsfield MA
- Using the Visual Studio 6.0 Driver Build Environment Plymouth MA
- Using the Visual Studio 6.0 Driver Build Environment Quincy MA
- Using the Visual Studio 6.0 Driver Build Environment Randolph MA
- Using the Visual Studio 6.0 Driver Build Environment Revere MA
- Using the Visual Studio 6.0 Driver Build Environment Roslindale MA
- Using the Visual Studio 6.0 Driver Build Environment Salem MA
- Using the Visual Studio 6.0 Driver Build Environment Saugus MA
- Using the Visual Studio 6.0 Driver Build Environment Scituate MA
- Using the Visual Studio 6.0 Driver Build Environment Shrewsbury MA
- Using the Visual Studio 6.0 Driver Build Environment Somerville MA
- Using the Visual Studio 6.0 Driver Build Environment South Hadley MA
- Using the Visual Studio 6.0 Driver Build Environment South Weymouth MA
- Using the Visual Studio 6.0 Driver Build Environment Southbridge MA
- Using the Visual Studio 6.0 Driver Build Environment Springfield MA
- Using the Visual Studio 6.0 Driver Build Environment Stoneham MA
- Using the Visual Studio 6.0 Driver Build Environment Stoughton MA
- Using the Visual Studio 6.0 Driver Build Environment Swampscott MA
- Using the Visual Studio 6.0 Driver Build Environment Taunton MA
- Using the Visual Studio 6.0 Driver Build Environment Tewksbury MA
- Using the Visual Studio 6.0 Driver Build Environment Walpole MA
- Using the Visual Studio 6.0 Driver Build Environment Waltham MA
- Using the Visual Studio 6.0 Driver Build Environment Watertown MA
- Using the Visual Studio 6.0 Driver Build Environment West Roxbury MA
- Using the Visual Studio 6.0 Driver Build Environment West Springfield MA
- Using the Visual Studio 6.0 Driver Build Environment Westborough MA
- Using the Visual Studio 6.0 Driver Build Environment Westfield MA
- Using the Visual Studio 6.0 Driver Build Environment Westford MA
- Using the Visual Studio 6.0 Driver Build Environment Weymouth MA
- Using the Visual Studio 6.0 Driver Build Environment Winthrop MA
- Using the Visual Studio 6.0 Driver Build Environment Woburn MA
- Using the Visual Studio 6.0 Driver Build Environment Worcester MA
Related Local Events
Annual Lighting of the Pilgrim Monument
Dates: 11/23/2009 - 11/27/2009
Location: Pilgrim Monument High Pole Hill Road
Provincetown, MA
View Details

Annual Lighting of the Pilgrim Monument
Dates: 11/25/2009 - 11/25/2009
Location: Pilgrim Monument
Provincetown, MA
View Details

Software Development Best Practices 2009
Dates: 9/21/2009 - 9/24/2009
Location: Hynes Convention Center
Boston, MA
View Details

EMBEDDED SYSTEMS CONFERENCE - BOSTON 2009
Dates: 9/21/2009 - 9/24/2009
Location: Hynes Convention Center
Boston, MA
View Details

September Networking Breakfast
Dates: 9/15/2009 - 9/15/2009
Location: Holiday Inn Boston - Somerville
Somerville, MA
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