Showing results for December 2008 - The Old New Thing

Dec 31, 2008
0
0

2008 year-end link clearance

Raymond Chen
Raymond Chen

Time for the semi-annual link clearance. Finally, we have the traditional plug for my column in TechNet Magazine:

Non-Computer
Dec 31, 2008
0
0

Sorry, I don’t get calls on this phone often

Raymond Chen
Raymond Chen

Many years ago, I was in a small meeting: It consisted of the project manager, me, and one other person. Just a quick little status meeting to discuss how things were going. We were a few minutes into the meeting when the project manager's cell phone rang. Now, this was back in the days before cell phones were ubiquitous. They were pretty spendy ga...

Non-ComputerThe social skills of a thermonuclear device
Dec 30, 2008
0
0

Crazy or cell phone?

Raymond Chen
Raymond Chen

You've seen it, I'm sure. People walking down the street talking to themselves. Crazy or cellphone? What really gets me are the people who wear the headsets even when they aren't talking on the telephone, but rather in anticipation of receiving a telephone call. To those people, I have this to say to you: You're not that important. Get over...

Non-Computer
Dec 30, 2008
0
0

Every crash is a potential security vulnerability

Raymond Chen
Raymond Chen

Whenever I post about a programming error that can lead to crashes, the security team gets all excited and starts looking for ways to exploit it. For example, when I wrote about the fundamentally flawed flag, the security folks went scouring through the Windows source code looking for anybody who passed that flag, and then tried to come up with ...

Other
Dec 29, 2008
0
0

Undecorating names to see why a function can’t be found

Raymond Chen
Raymond Chen

Here's a problem inspired by actual events. When I build my project, it compiles fine, but it fails during the link step with an unresolved external: program.obj : error LNK2001: unresolved external symbol "public: virtual wchar_t const * __thiscall UILibrary::PushButton::GetName(class UILibrary::StringHolder * *)" (?GetName@PushButton@UILibr...

Code
Dec 26, 2008
0
0

Why are all computers shown with a Printers folder even if printer sharing is disabled?

Raymond Chen
Raymond Chen

When you visited a computer on the network by typing into the address bar, Explorer showed you a Printers folder if the computer had printer sharing enabled. But starting in Windows Vista, the Printers folder is shown regardless of whether the remote computer is sharing any printers. Why did this change? Communicating with the remote compu...

Tips/Support
Dec 25, 2008
0
0

Then again, sometimes the improvement is merely incremental

Raymond Chen
Raymond Chen

Several years ago, the security department sent out a company-wide memo: Over the next few months, we will be upgrading the card readers on all of our major campuses. The old card readers show a solid red light when the door is locked, whereas the new card readers show a blinking red light. Aw-right, a blinking light. Now we're cookin' with gas!...

Non-Computer
Dec 24, 2008
0
0

Foiled by my withered hand

Raymond Chen
Raymond Chen

A few years ago, some email was sent out to the product team asking for a volunteer hand model to demonstrate how to open the Windows Vista box. Alas, I withdrew myself from consideration due to my withered hand.

Non-Computer
Dec 23, 2008
0
0

Misheard lyrics as applied to Christmas songs

Raymond Chen
Raymond Chen

While visiting my young nieces, we sang some Christmas songs, and when it came to sing Toyland, the four-year-old sang it with misheard lyrics: "Toi-let! Toi-let!"

Non-Computer
Dec 23, 2008
0
0

Why isn’t there a SendThreadMessage function?

Raymond Chen
Raymond Chen

Here's an interesting customer question: Windows has and . It also has but no . Why isn't there a function? Am I forced to simulate it with an event? What would this imaginary function do? Recall that delivers the message directly to the window procedure; the message pump never sees it. The imaginary function would have to deliver the me...

Other