Showing results for February 2013 - Page 2 of 3 - The Old New Thing

Feb 19, 2013
0
0

Microspeak: bubble up

Raymond Chen
Raymond Chen

Bubble up is the name of a soft drink, but at Microsoft, it means something else. (Remember, Microspeak is not just terms used exclusively within Microsoft, but also terms used at Microsoft more often than in the general population.) To bubble up information is to expose the information at a higher reporting level. For example, you might have a ...

OtherMicrospeak
Feb 18, 2013
0
0

I speak German better in my dream than I do in real life

Raymond Chen
Raymond Chen

I dreamed that I was at a large trade show, where everybody had cleared the center of the main floor to make room for an impressive real-time holography demo. After the demo was over, everybody moved their chairs back, but the German delegation had difficulty returning their chairs to the exact position they took them from, because everybody else...

Non-ComputerDream
Feb 15, 2013
0
0

Debug session: Why is an LPC server not responding?

Raymond Chen
Raymond Chen

A particular scenario was hanging, and the team responsible for the scenario debugged it to the point where they saw that their X component was waiting for their Y component, which was waiting for Explorer, so they asked for help chasing the hang into Explorer. The team was kind enough to have shared what they've learned so far: kd&g...

Code
Feb 14, 2013
0
0

If you can’t find the function, find the caller and see what the caller jumps to

Raymond Chen
Raymond Chen

You're debugging a program and you want to set a breakpoint on some function, say, netapi32!Ds­Address­To­Site­NameW, but when you execute the bp netapi32!Ds­Address­To­Site­NameW command in the debugger, the debugger says that there is no such function. The Advanced Windows Debugging book says that the bp comman...

Code
Feb 13, 2013
0
0

How do I launch a file as if it were a text file, even though its extension is not .txt?

Raymond Chen
Raymond Chen

You might have a program that generates log files or other text content with an extension other than . You naturally might want to open these documents in the user's default text editor. You might decide to ask the Windows developer support team, "How can I figure out what program is the handler for text files?" The idea being that once you get t...

Code
Feb 12, 2013
0
0

What’s the story of the onestop.mid file in the Media directory?

Raymond Chen
Raymond Chen

If you look in your folder, you'll find a MIDI file called . What's the story behind this odd little MIDI file? Aaron Margosis considers this file a security risk because "if an attacker can cause that file to be played, it will cause lasting mental pain and anguish to everybody within earshot." Despite Wikipedia's claims[citation needed], the ...

History
Feb 11, 2013
0
0

Let me take this shortcut across Lake Saskatchewan

Raymond Chen
Raymond Chen

I dreamed that I had to drive from Los Angeles to Berkeley to catch my flight home. To do this, I used a product from a local startup company: A computerized map of the Bay Area. There were two routes across Lake Saskatchewan. The southern route is highway I-70, and the northern route is an elevated highway that goes right past the head of the Ca...

Non-ComputerDream
Feb 11, 2013
0
0

Display an overlay on the taskbar button

Raymond Chen
Raymond Chen

Today's "Little Program" displays an overlay on the taskbar button. I've seen some people call this a "badge", but "overlay" is the official term. Start with our scratch program and make the following changes: #include <comip.h> #include <comdef.h> #include <shlobj.h> #include <shellapi.h> _COM_SMARTPTR_TYPEDEF(ITaskb...

Code
Feb 8, 2013
0
0

The Essential Guide To Dim Sum

Raymond Chen
Raymond Chen

The folks over at BuzzFeed Food have put together this marvelous Essential Guide To Dim Sum. The field guide includes pictures of dim sum offerings, organized by food preparation style, then sub-categorized by physical appearance. Each dish is accompanied by its name in three languages (English, Mandarin Chinese, and Cantonese), along with symbol...

Non-Computer