Re: Does Bill Gates know about the DDK regarding C++?



my company has a license for the source code for a USB-rs232 converter from
a well known chip manufacturer with a 2 character acronym.

the code could be -for all practical purposes- MFC.
really. it is full of things like

DriverObject theDriver; //the one and only instance of ...

it is totally unreadable, and all system calls are buried 3 levels deep.
it seems to work (the latest version anyway) but i really don't want to
touch it.

there is something to be said for clean WYSIWYG source code. especially in
such sensitive
an environment as device drivers.

kind regards,
Bruno.




"Don Burn" <burn@xxxxxxxxxxxxxxxx> wrote in message
news:hDhpe.4960$mZ2.651@xxxxxxxxxxx
> Please let us know the companies and drivers you have written for, so we
> can avoid them. A friend of mne just had to deliver the bad news to a
> firm that if they wanted a stable maintainable driver, they had to throw
> out the crap they had, which did exactly as you describe. Having heard
> about this one, and encountered a few like it myself, I know how the
> customer feels when you explain, gee throw out this plague.
>
>
> --
> Don Burn (MVP, Windows DDK)
> Windows 2k/XP/2k3 Filesystem and Driver Consulting
> Remove StopSpam from the email to reply
>
>
>
> "Mike Yoke" <MikeYoke@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:DF89BD67-5B3B-4F5A-BF9E-4649EEA85C81@xxxxxxxxxxxxxxxx
>>I don't know about that. I never written a driver in anything other than
>>C++.
>> For me its not so much about abstracting away low-level details, but
>> rather
>> about the expressive power of the language. I use STL too, with
>> allocators
>> that are suitable for kernel mode.
>>
>> Mike
>>
>
>


.



Relevant Pages

  • Re: Mirror Driver Architecture
    ... the various VNCs, which do exactly what you are asking, and come with ... we can't use them unless we publish our own source code (this is a commercial ... You are right, of course, any kind of programming in the kernel seems to be ... driver sample code - specifically DrvBitBlt and DrvCopyBits - for sending ...
    (microsoft.public.win32.programmer.kernel)
  • Re: protecting source code in 2.6
    ... > to distribute our driver as sum of source code and librabry/object code. ... > and the device interface module. ... The device interface module on the other ...
    (Linux-Kernel)
  • Re: SATA RAID 1 - which controller to pick?
    ... release their source code for a driver, ... Because I could not get the Redhat driver working, ... SCSI is really an overkill for small ... > than SATA. ...
    (comp.os.linux.hardware)
  • Re: How can I link the kernel with libgcc ?
    ... I included source code for the ... Where is the source code to your driver? ... need floating point, just some thought ahead of time. ... log10but int) for some positive integer foo. ...
    (Linux-Kernel)
  • Re: Parallel Port Driver
    ... Windows drivers require working in C, and the Windows DDK. ... Please send me your driver with the source code and if it posible some ...
    (microsoft.public.development.device.drivers)