The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Dec 8, 2009
Post comments count 0
Post likes count 1

Things I've written that have amused other people: Episode 6

Raymond Chen

On an internal discussion group, somebody decided to quote one of my blog entries. Jim Medding was amused by my response: Bloggers are just idiots with a Web site. (My blog was dug up in order to refute a claim, even though the blog entry applied to a situation different from the one under discussion.)

Dec 7, 2009
Post comments count 0
Post likes count 1

I'm sorry, Brian/Bryan Gregory, that confirming the spelling of your name is too much for you to handle

Raymond Chen

At 10am on November 30, I received a telephone call at work with "Anonymous" as the caller ID. Strange. But maybe it's the same person who called my office phone from New York at 1am on the day after Thanksgiving and didn't leave a message, and they're just following up on the first business day after the holiday weekend. "Hello?" — Hello, this is Brian Gregory from Fred Asher Associates and I'm calling blah blah blah blah blah are you interested in this opportunity or know someone who is? I may have gotten the names wrong since he spoke so quickly. "I'm sorry, that was a bit fast. Your name is Brian Gr...

Dec 7, 2009
Post comments count 0
Post likes count 2

What is the story behind multimon.h?

Raymond Chen

Commenter asdf wonders what the deal is with that header file. Let's set some context. That header file was written back in the time when Windows 98 was still under development. Windows 98 was the first version of Windows to support multiple monitors. At the time, most application authors had Windows 95 as their target platform. And even after Windows 98 shipped, the expectation was that programmers would target both Windows 95 and Windows 98 for at least a little while longer. The problem then is convincing programmers to write their code in a manner that works well in the face...

Dec 4, 2009
Post comments count 0
Post likes count 1

Why do some comments have a star?

Raymond Chen

Every so often, someone posts a really funny comment, and I feel stupid just posting the remark "Haha, that was funny" or even worse "LOL". So I'm going to try giving them a star instead. Chris Blackwell wins the first star. Hopefully people won't post comments just fishing for a star. (I realize that this is a vain hope and that I will probably have to cancel the star program within the week.)

Dec 4, 2009
Post comments count 0
Post likes count 1

When there is a long line of people waiting for a shared resource, you want to investigate the person who is hogging the resource, not the people waiting in line for it

Raymond Chen

If you see a long line of people waiting for a phone booth (note: this analogy assumes you remember how phone booths work), and you want to understand the reason for the long line, do you Go to a person waiting in line and begin your investigation there? Go to the phone booth (and the person inside) and begin your investigation there? If there is a long line of people waiting for a single resource, a resource that there is not normally a long line for, you would probably look at the person who is using the resource to see if, for example, they are a chatterbox who will be on the phone for an hour, or if ...

Dec 3, 2009
Post comments count 0
Post likes count 1

Why do Swedes count "1, X, 2"?

Raymond Chen

Occasionally, when an article in Swedish needs to count off three items, they are not labelled "1, 2, 3" but rather "1, X, 2". Why is that? I asked Jesper Holmberg, and he was kind enough to explain. (The entire exchange naturally was conducted in Swedish. Here's my translation.) As with most of the good things in life, it has to do with football [soccer]. In Sweden, it is not only legal to bet on horse races, football, and other stuff, but the Swedish government even has its own betting agency. "One, cross, or two" comes from the betting ticket, the slip of paper you fill in when you be...

Dec 3, 2009
Post comments count 0
Post likes count 1

What is the effect of setting the /3GB switch on my 64-bit Windows machine?

Raymond Chen

Nothing.

Dec 2, 2009
Post comments count 0
Post likes count 0

Fake trend watch: Bridesmaid pre-nuptial agreements

Raymond Chen

The only actual citation was a joke, yet it's a trend?

Dec 2, 2009
Post comments count 0
Post likes count 1

A shell extension is a guest in someone else's house; don't go changing the carpet

Raymond Chen

A customer was running into this problem with a shell extension: I am writing a shell namespace extension. I need to get data from a COM server, which requires impersonation via with . As I am just writing an extension into , I am not able to call , anymore from my extension. Is there a way I can start by setting in its COM initialization? I was browsing through web, and seems to take some settings from registry, but couldn't find anything related to this one. First of all, who says that the host process is ? If I open Notepad, then do a File.Open, and then navigate to your shell extension, boom, your sh...