TDI driver is a legacy NT driver. not WDM driver I
suppose.Then in the TdiDispatchRoutines how does it
call lower NDIS drivers?(in WDM driver model it passes
the IRP the lower driver in the stack…is it same for
TDI driver as well)
— Arlie Davis wrote:
> The thing that irritates me, is that I used
> build.exe for years as a
> Microsoft employee to build every conceivable type
> of component. I know
> what it is capable of doing, and although it might
> not be perfect, it is
> good for building a large tree of components in a
> consistent, predictable,
> and automatable way. And it is far better than
> hand-crafted makefiles,
> because “sources” files are far more declarative
> than makefiles are.
>
> I realize the priority of the DDK is device drivers.
> But device drivers
> rarely exist in a vacuum; there is nearly always
> some user-mode component
> nearby. Which is why I would like to be able to
> build all my components
> with it – nice, clean, consistent builds, no
> frills, and all command-line
> driven.
>
> Oh well. The consensus appears to be that the
> subset of the Platform DK
> that is shipped with the DDK is not sufficient for
> building many user-mode
> apps (such as those with an ATL dependency). I can
> accept that. What I
> wanted was definite knowledge, and this thread has
> given me that – thanks
> for the responses, everyone.
>
> At times I have been frustrated, as both a Microsoft
> developer and as a
> non-Microsoft developer, that Microsoft does not
> make available some of its
> development tools that would be quite useful to
> developers who are already
> committed to Microsoft platforms. Build.exe (and
> related friends, such as
> the missing and beloved binplace.exe) isn’t
> beautiful, but it is very
> useful. (Oh, just checked, and binplace was added
> to DDK 3790. Hmm! Time
> to investigate!)
>
> – arlie
>
>
>
> -----Original Message-----
> From: xxxxx@lists.osr.com
> [mailto:xxxxx@lists.osr.com] On Behalf
> Of Alberto Moreira
> Sent: Saturday, September 24, 2005 10:41 AM
> To: Windows System Software Devs Interest List
> Subject: Re: [ntdev] ATL build problem, zmouse.h
>
> Michal,
>
> I don’t think it’s a good idea to develop or build
> applications from the DDK
> because the support it offers is far too limited,
> and hence you need to put
> up a lot of additional work. Moreover the DDK
> environment may be
> “controlled” for drivers, but not for
> applications: it leaves much to be desired.
>
> Also, an app should not use DDK headers. If you have
> a set including drivers
> and apps, the correct thing to do is to write a few
> app-safe include files
> that encapsulate the minimum functionality that the
> app and the driver must
> share, and you stop at that point: a few defines and
> Ioctl layouts should
> suffice.
>
> Now, the OS is not an application, hence, it may be
> the case that build.exe
> is feasible to build it; although I’m pretty sure
> that they’d save a lot of
> money if they switched to using the MSVC.NET tools
> they themselves created.
>
> One last thing: build.exe is just a wrapper around
> nmake, and I myself have
> never been able to make the transition. I’d rather
> use nmake than build, if
> nothing else because using nmake makes me feel in
> control. Solutions and
> projects, however, are also no more than containers
> around nmake, but
> they’re a lot more flexible and they save a lot of
> work. You know, the
> difference is like writing drivers in C++ instead of
> machine code; there’s
> got to be some purists out there who still think
> assembler is best for
> drivers and for OS work, but after Unix that school
> of thought has been
> proven inadequate. The same thing happens with
> command-line tools! This is
> the GUI era.
>
>
> Alberto.
>
>
>
> —
> Questions? First check the Kernel Driver FAQ at
> http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as:
> xxxxx@yahoo.com
> To unsubscribe send a blank email to
> xxxxx@lists.osr.com
>
__________________________________
Yahoo! Mail - PC Magazine Editors’ Choice 2005
http://mail.yahoo.com