Showing archive results for 2012

Feb 3, 2012
Post comments count0
Post likes count1

The compatibility constraints of error codes, episode 2

Raymond Chen

A customer reported an incompatibility in Windows 7: If A: is a floppy drive and they call and there is no disk in the drive, the call fails with the error . Previous versions of Windows failed with the error . Both error codes are reasonable responses to the situation. "The module couldn't be found because the drive is not ready." Programs...

Code
Feb 2, 2012
Post comments count0
Post likes count1

When you are looking for more information, it helps to say what you need the information for

Raymond Chen

It's often the case that when a question from a customer gets filtered through a customer liaison, some context gets lost. (I'm giving the customer the benefit of the doubt here and assuming that it's the customer liaison that removed the context rather than the customer who never provided it.) Consider the following request: We would like to kn...

Otheremail
Feb 1, 2012
Post comments count0
Post likes count1

Things I've written that have amused other people, Episode 9

Raymond Chen

A customer liaison reported that their customer wants to be able to access their machine without needing a password. They just want to be able to and be able to access the files right away. I guess because passwords are confusing, easy to forget, and just get in the way. Anyway, the customer discovered that they could do so on Windows XP by g...

Other
Jan 31, 2012
Post comments count0
Post likes count1

The Freudian typo that will not die: Enchanced video quality

Raymond Chen

While wasting time doing valuable background research on my computer, I received the following suggestion: For enchanced video quality, click here. It's good to know that the typo that I first encountered in 1993 is still alive and kicking. (And even though it's not important to the story, people will demand some sort of follow-up, so here it ...

Other
Jan 30, 2012
Post comments count0
Post likes count1

Why does it take Task Manager longer to appear when you start it from the Ctrl+Alt+Del dialog?

Raymond Chen

Amit was curious why it takes longer for Task Manager to appear when you start it from the Ctrl+Alt+Del dialog compared to launching it from the taskbar. Well, you can see the reason right there on the screen: You're launching it the long way around. If you launch Task Manager from the taskbar, Explorer just launches via the usual mechanism, ...

Other
Jan 27, 2012
Post comments count0
Post likes count1

Does mapping the same shared memory two times in a process lead to double the address space usage?

Raymond Chen

A customer designed a system which uses shared memory. Specifically, for each database file, they create a corresponding shared memory block of, say, 200MB. Multiple clients which connect to the same database file use the same shared memory block. Naturally, if two processes each access the same database file, each process will map the shared memor...

Code
Jan 26, 2012
Post comments count0
Post likes count1

Why doesn't the Windows 7 Start menu have a pushpin for pinning items?

Raymond Chen

You may have noticed a minor inconsistency between pinning a program to the Start menu and pinning a destination to a program's Jump List. Although pinned items appear at the top of the respective lists, and both the Start menu and Jump List let you right-click an item and select Pin/Unpin, the Jump List also lets you pin and unpin an item by click...

History
Jan 25, 2012
Post comments count0
Post likes count1

How do I disable the fault-tolerant heap?

Raymond Chen

A while back, I linked to a talk by Silviu Calinoiu on the fault-tolerant heap. But what if you don't want the fault-tolerant heap? For example, during program development, you probably want to disable the fault-tolerant heap for your program: If the program is crashing, then it should crash so you can debug it! Method 1 is to disable the ...

Code
Jan 24, 2012
Post comments count0
Post likes count1

A single-handed effort to keep the memory of $2 bills alive

Raymond Chen

As I noted when I told the story of the computer programmer who dabbled in making change that my colleague had a lot of money-related quirks. For some reason my colleague felt the $2 bill deserved more attention. Every so often, he would go to the bank and buy $100 in $2 bills, then reintroduce the bills into circulation and enjoy people's reacti...

Non-Computer