How to use reinterpret_cast in kernel driver

David,

I think I’ve to start attending some of those … just to get ideas of what’s
being cooked :).

If it is not under NDA, I would sure like to know “what they mean by OUR
SUPPORT”???.

What I’ve seen so far is that a lot of smart programmer from application
area moved to file systems and ndis upper driver area where intimacy with HW
is not that required, and they go directly to two things that I mentioned.
It is really easy to hatch that kind of pattern!

I can definitely see some advantages to those, as well as the pitfalls
discussed here and on MS docs, but whatever its worth I can not forgo the
ideas ( since it is based on creating MFC apps with or w/o templates in the
past, around 1994 time).

I started liking object oriented code after looking at boost and ACE
libraries. Specially the graph algorithms implemented in boost package by
bunch of nut-head PHds…

Well, as if I’ve to sign something !
Prokash Sinha
http://prokash.squarespace.com
Success has many fathers, but failure is an orphan.

----- Original Message -----
From: “David Craig”
Newsgroups: ntdev
To: “Windows System Software Devs Interest List”
Sent: Wednesday, January 21, 2009 8:31 PM
Subject: Re:[ntdev] RE:How to use reinterpret_cast in kernel driver

> At the DDC they had an “Ask The Experts” evening. Some folks had some
> news about a currently unapproved/unfunded/unofficial project that enables
> Visual Studio to write, create, and debug drivers. It will have some
> intelligence but it will use the VS debugger to run the kernel debugger on
> the target system. Not a lot of details, but they did mention our support
> can help get the project funded and made a part of a future release. I
> can see some advantages even if it is a big install. It probably won’t
> sell a lot of VS to the world but it may help us.
>
> “Prokash Sinha” wrote in message news:xxxxx@ntdev…
>>I agree. This is more along the line of the C++ design thoughts, IIRC.
>>
>> Two things I’ve bumped into quite often are -
>>
>> (1) C++ code in windows kernel mode drivers, and
>>
>> (2) Building them using some form of VS ide ( thank god, it was not
>> Boreland IDE)
>>
>> I guess when things move to C#, probably there will be project template
>> for KM and UM drivers on VS IDE. Kind of shooting two birds with one
>> bullet !
>>
>> Well, as if I’ve to sign something !
>> Prokash Sinha
>> http://prokash.squarespace.com
>> Success has many fathers, but failure is an orphan.
>>
>> ----- Original Message -----
>> From:
>> To: “Windows System Software Devs Interest List”
>> Sent: Wednesday, January 21, 2009 10:03 AM
>> Subject: RE:[ntdev] How to use reinterpret_cast in kernel driver
>>
>>
>>>> The thing is that “what cast is going to do” is always clear from the
>>>> dst type, which is in brackets for C-style cast.
>>>
>>> Yes, but “what cast is going to do” is not always what it was meant to
>>> do, nor what is safe to do. C-style casts are overloaded and produce
>>> very different code depending on what is on both side of the cast and
>>> will change meaning without a warning if the types ever change. C++ cast
>>> will only do what they are explicitly told to do. I’ll take explicit and
>>> visible breakage over implicit meaning and silent breakage any day.
>>>
>>> —
>>> NTDEV is sponsored by OSR
>>>
>>> For our schedule of WDF, WDM, debugging and other seminars visit:
>>> http://www.osr.com/seminars
>>>
>>> To unsubscribe, visit the List Server section of OSR Online at
>>> http://www.osronline.com/page.cfm?name=ListServer
>>
>>
>
>
>
> —
> NTDEV is sponsored by OSR
>
> For our schedule of WDF, WDM, debugging and other seminars visit:
> http://www.osr.com/seminars
>
> To unsubscribe, visit the List Server section of OSR Online at
> http://www.osronline.com/page.cfm?name=ListServer