Showing results for November 2006 - The Old New Thing

Nov 30, 2006
0
0

It took two of us to keep up with one Bob

Raymond Chen
Raymond Chen

One of my friends (let's call him "Bob") retired from Microsoft many years ago. Bob is an amazing programmer whose skills I remain in awe of. I remember visiting his office one evening with a mutual friend ("Fred") to catch up on things. When we turned up, he showed us a problem that he was working on. He was doing some sort of fancy graphics effe...

Other
Nov 29, 2006
0

A fork is an easy-to-find nonstandard USB device

Raymond Chen
Raymond Chen

Remember the Ten Immutable Laws of Security. Today, we're going to talk about number three: If a bad guy has unrestricted physical access to your computer, it's not your computer any more. There was a bug which floated past my field of vision many months ago that went something like this: "I found a critical security bug in the USB stack. If some...

Other
Nov 28, 2006
0
0

What went wrong in Windows 95 if you use a system color brush as your background brush?

Raymond Chen
Raymond Chen

If you want to register a window class and use a system color as its background color, you set the member to the desired color, plus one, cast to an : Windows 95 introduced "system color brushes", which are a magic type of brush which always paint in the corresponding system color, even if the system color changes. The brush will alwa...

CodeHistory
Nov 27, 2006
0
0

It's not surprising at all that people search for Yahoo

Raymond Chen
Raymond Chen

Earlier this year, one columnist was baffled as to why "Yahoo" was the most searched-for term on Google. I wasn't baffled at all. Back in 2001, Alexa published the top ten most searched-for terms on their service, and four of the top ten were URLs: yahoo.com, hotmail.com, aol.com, and ebay.com. A lot of people simply don't care to learn the diffe...

Other
Nov 24, 2006
0
0

Sometimes you need to recalibrate your progress reports

Raymond Chen
Raymond Chen

One of my former managers told me this story from a project he worked on many years ago. This project was broken up into multiple groups, and there was a weekly meeting where representatives from each group got together to discuss how the project was going. One of the groups was responsible for generating the reports and analysis. This was an impo...

History
Nov 23, 2006
0
0

Placebo setting: QoS bandwidth reservation

Raymond Chen
Raymond Chen

A placebo setting that has been getting a lot of play in recent years is that of QoS bandwidth reservation. The setting in question sets a maximum amount of bandwidth that can be reserved for QoS. I guess one thing people forgot to notice is the word "maximum". It doesn't set the amount of reserved bandwidth, just the maximum. Changing the value...

Tips/Support
Nov 22, 2006
0
0

The quiet dream of placebo settings

Raymond Chen
Raymond Chen

Back in the Windows 95 days, people swore that increasing the value of in the file fixed application errors. People usually made up some pseudo-scientific explanation for why this fixed crashes. These explanations were complete rot. These breakpoints had nothing to do with Windows applications. They were used by 32-bit device drivers to com...

History
Nov 21, 2006
0
0

What is the process by which the cursor gets set?

Raymond Chen
Raymond Chen

Commenter LittleHelper asked, "Why is the cursor associated with the class and not the window?" This question makes the implicit assumption that the cursor is associated with the class. While there is a cursor associated with each window class, it is the window that decides what cursor to use. The cursor-setting process is described in the docum...

Code
Nov 20, 2006
0
0

Paradoxically, you should remove the smart card when logging on with a smart card

Raymond Chen
Raymond Chen

To connect to the Microsoft corporate network from home, employees need to use smartcard authentication. But, somewhat paradoxically, you do better if you remove the smart card. A colleague of mine tipped me off to this. To initiate the connection, you have to insert the smart card and provide the smart card password. Then the system connects to ...

Tips/Support
Nov 20, 2006
0
0

It takes only one program to foul an upgrade

Raymond Chen
Raymond Chen

"Worst software ever." That was Aaron Zupancic's cousin's reaction to the fact that Windows XP was incompatible with one program originally designed for Windows 98. Then again, commenter Aargh! says "The bad code should be fixed, period. If it can't be fixed, it breaks, too bad." Perhaps Aargh! can send a message to Aaron's cousin sa...

Code