Hello,

i just bought Walter Oney's book on WDM drivers.
so far it is really good, but i am just at page 100.

at this moment i have 2 question:

- in the introduction Walter says that he uses VC6 for programming and
building device drivers, but i havent found am explanation so far that tells
me how to set this up. is it enough to just change the compiler? and what am
i supposed to enter for build target?is it enough to use the VC6 plugin or
do i need to do more?
- is it possible to use VC .NET 2003 instead of VC6? i still use both on my
system, but i would rather move to VC .NET where possible.

i am sorry if i ask questions that are answered in the book, but i have
skimmed through it to see if they were, and did not find anything. i have
not read the book completely, but wanted to compile an empty example to get
a feel for it. rather than taking a finished example from the CD, i would
build an empty driver myself so that when it is finished, i would really
know what was in there.

kind regards,
Bruno.

Re: question about using VC6 with DDK by Sreeram

Sreeram
Thu Apr 29 03:16:43 CDT 2004

You can compile it using the BUILD utility. You can find the information
in Windows 2000 DDK. (Topic: Driver Writer's Guide). It has detailed
explanation. I think you can use any IDE(Visual C++ 6.0 or .NET 2003)
for development ie; to write code and compile it using BUILD utility. If
you read above mentioned topic in DDK you will get a clear picture.

Sreeram.


Bruno van Dooren wrote:
> Hello,
>
> i just bought Walter Oney's book on WDM drivers.
> so far it is really good, but i am just at page 100.
>
> at this moment i have 2 question:
>
> - in the introduction Walter says that he uses VC6 for programming and
> building device drivers, but i havent found am explanation so far that tells
> me how to set this up. is it enough to just change the compiler? and what am
> i supposed to enter for build target?is it enough to use the VC6 plugin or
> do i need to do more?
> - is it possible to use VC .NET 2003 instead of VC6? i still use both on my
> system, but i would rather move to VC .NET where possible.
>
> i am sorry if i ask questions that are answered in the book, but i have
> skimmed through it to see if they were, and did not find anything. i have
> not read the book completely, but wanted to compile an empty example to get
> a feel for it. rather than taking a finished example from the CD, i would
> build an empty driver myself so that when it is finished, i would really
> know what was in there.
>
> kind regards,
> Bruno.
>
>


Re: question about using VC6 with DDK by Walter

Walter
Thu Apr 29 05:38:00 CDT 2004

Bruno van Dooren wrote:
> - in the introduction Walter says that he uses VC6 for programming and
> building device drivers, but i havent found am explanation so far that tells
> me how to set this up. is it enough to just change the compiler? and what am
> i supposed to enter for build target?is it enough to use the VC6 plugin or
> do i need to do more?

If you install the sample files, the setup program will (optionally) set
up some right-mouse shortcuts and environment variables. The WDMBOOK.HTM
file explains how to build the samples. Each sample has its own HTM file
that explains what the sample is for and how to test it.

> - is it possible to use VC .NET 2003 instead of VC6? i still use both on my
> system, but i would rather move to VC .NET where possible.

My friend G. Little has found a way, but he won't tell me unless I
publicly admit that my true name is Jubilation T. Cornpone. [Now who
understands THAT allusion without doing a GOOGLE search first?]

But seriously folks, I don't have the patience to figure out how to deal
with the XML format that VS.NET uses for project files so as to use it
for driver development. If anyone wants to volunteer to create a VS.NET
wizard and an analogue to FIXPROJ, I'd welcome their contribution.

An approach that will work is to visit Mark Roddy's site and read up on
his solution, which involves creating external-makefile projects that
run the DDK "BUILD" utility to do the builds.

--
Walter Oney, Consulting and Training
Basic and Advanced Driver Programming Seminars
Check out our schedule at http://www.oneysoft.com