Showing archive results for 2009

Aug 27, 2009
Post comments count0
Post likes count0

Isn't every dinner at a technology conference a geek dinner?

Raymond Chen

I'm always amused when somebody announces that they're having a geek dinner at a technology conference. I mean, at a conference like that, every dinner is a geek dinner. The geek density is so high, +4 enchanted vorpal swords quiver in fear. [Update 8am: Fixed broken permalink. Yay, they broke a permalink...]

Other
Aug 27, 2009
Post comments count0
Post likes count1

What is the maximum number of timers a program can create?

Raymond Chen

As MSDN correctly notes, "Timers are a limited global resource." How limited are they? (We're talking about timers created by .) Not as limited as they once were. Originally, there were eight timers total for the entire system. When there are only eight timers, you have to be very careful not to waste them and to destroy them when they aren't nee...

History
Aug 26, 2009
Post comments count0
Post likes count1

The way to stop people from copying files to a folder is to use NTFS security, not to block drag/drop

Raymond Chen

A customer wanted to prevent users from copying files to certain locations, and they did it by hooking functions like and failing the operation if the parameters were not to its liking. The customer found that the hooks stopped working in Windows Vista because Explorer in Windows Vista uses the new COM interface instead of using the old function...

Tips/Support
Aug 26, 2009
Post comments count0
Post likes count0

In Ephesus, you juggle or die

Raymond Chen

In 1987, The Flying Karamazov Brothers performed their interpretation of Shakespeare's A Comedy of Errors. When I watched this show (part 1, part 2) when it first aired, it was my introduction both to the juggling team and to the play. It also reinforced my impression that Shakespeare was meant to be performed and not merely read. The ...

Non-Computer
Aug 25, 2009
Post comments count0
Post likes count0

Meta-content: Suggestion Box 4 will open sometime next year

Raymond Chen

Yesterday, I finished composing the last entry taken from an item in Suggestion Box 3. My prediction that the backlog would clear in early 2010 was off by exactly one year: The last Suggestion Box 3 entry is scheduled to be posted on January 3, 2011. I figure I'll open Suggestion Box 4 sometimes next year. But I'll leave it open fo...

Non-Computer
Aug 25, 2009
Post comments count0
Post likes count1

My phone just DoS'd my office network

Raymond Chen

The other day I was working in my office minding my own business when I suddenly lost network connectivity. I couldn't contact any machines other than the ones in my office. When this happens, I go through some basic troubleshooting steps. Is my neighbor's network okay? How about power-cycling the affected machines? Refreshing the TCP/IP security ...

Non-Computer
Aug 24, 2009
Post comments count0
Post likes count0

City noises and their effects on songbirds

Raymond Chen

Robins in Sheffield sing at night because it's too noisy in the daytime. That reminds me that when I was in Antigua, Guatemala, I was told that the songbirds in the city have started mimicking car alarms. Apparently this is also happening in Oregon with birds mimicking car alarms and cell phone ring tones.

Non-Computer
Aug 24, 2009
Post comments count0
Post likes count1

The operating system doesn't know which language programs are written in – by the time the code hits the CPU, they all look the same

Raymond Chen

Reader Will Rayer asks about "the degree to which 'plain vanilla' C Windows API code works under Vista with the native look and feel." It works just as well as code written in any other language. The operating system doesn't know which language programs are written in. By the time the code reaches the CPU, they all look the same. It's just a bun...

Other
Aug 21, 2009
Post comments count0
Post likes count1

Restating the obvious about the WM_NOTIFY message

Raymond Chen

It appears that people seemed to appreciate restating the obvious about the message, so I'll try it again with the message. The message is typically used by a control to communicate with its parent, either to provide information, request it, or both. Although that is the typical use, there are exceptions. For example, property sheets send th...

Code
Aug 20, 2009
Post comments count0
Post likes count1

Why does Windows wait longer than my screen saver idle timeout before starting the screen saver?

Raymond Chen

You may find yourself in a situation where Windows takes longer than your specified screen saver idle timeout to start the screen saver. First of all, there are ways for programs to block the screen saver entirely. Calling , is how a program says, "Even though there is no mouse or keyboard input, the screen is indeed in use, so don't blank it or s...

Tips/Support