Re: Can we use cpp to write WDM driver ?
- From: Tim Roberts <timr@xxxxxxxxx>
- Date: Sat, 02 Jun 2007 18:03:01 -0700
440gtx@xxxxxxxxx wrote:
platform in there too. Interesting how Microsoft decided not to do
this with their x64 compiler (int & long stayed 32-bit) since it would
have broken so much code despite the DDK and others inventing its own
data types (a la ULONG) long ago.
"Interesting" is the wrong word for it. "Insulting" would be more
accurate. A decade ago, we programmers somehow managed to be smart enough
to handle the 16-bit to 32-bit transition as "int" moved from being a
16-bit quantity to a 32-bit quantity.
Now, however, Microsoft thinks we are all too stupid to handle that
transition again, and so we are left with the utterly ridiculous situation
of having a compiler in which NONE of the standard C types actually matches
the native register width of the machine.
The Linux folks laugh at this, of course. gcc on AMD64 has 64-bit longs,
as any reasonable person would have done. Their programmers manage to
handle it just fine.
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.
.
- Follow-Ups:
- Re: Can we use cpp to write WDM driver ?
- From: Maxim S. Shatskih
- Re: Can we use cpp to write WDM driver ?
- Prev by Date: Re: How to develop UVC webcam driver on win2k
- Next by Date: Re: [WIA] Minidriver (UMDF/WDM), usbscan (32/64 bit) and certification
- Previous by thread: Re: Can we use cpp to write WDM driver ?
- Next by thread: Re: Can we use cpp to write WDM driver ?
- Index(es):
Relevant Pages
|