Welcome to MSDN Blogs Sign in | Join | Help

September 2008 - Posts

I was looking at the front page of MSNBC and ran into this picture : (image copyright Sebastiao Moreira / EPA).    My first thought was “Why do these people all have hotdogs with yellow mustard pressed up to their face?”   I did say that Read More...
I just noticed this while working on a bug fix. We have some code that attempts to determine the size of a piece of text by calling DrawThemeText with the DT_CALCRECT format value. According to this page (as of 9/30/2008) the DT_CALCRECT option determines Read More...
Because the alternative is often much worse.   Several months ago, I got a bug report that if you launched mmsys.cpl then set the “Select” sound to a value, then cleared the sound, the reporters application would ding whenever you moved around their Read More...
The PDC folks just announced a host of Windows 7 related PDC talks , one of which is mine. The title of the talk is “Windows 7: Building Great Communications Applications”.  You can find it under the Windows 7 track on the Microsoft PDC site .   Read More...
Someone just wandered over to my office and he had noticed the following pattern in his code: PlaySound(NULL, NULL, SND_NODEFAULT); PlaySound( ".Default" , NULL, SND_SYSTEM | SND_ASYNC | SND_NODEFAULT); He was wondering why on earth the code Read More...
I just got word that the talk we’d proposed for the PDC in October was approved, so I’m going to La-La-Land next month for a couple of days.   The contents of my talk have not yet been disclosed, so I can’t talk about what I’m talking about at the Read More...
My last post was all about a problem with what appeared to be some really simple ATL code. It turns out that the problem was easier than I had expected.  James Skimming came up with the answer on the second comment.  The problem here was that Read More...
I recently tracked down a bug that was causing problems in my code.  Once I figured out the bug, I realized it made a good “what’s wrong with this code”… #include "stdafx.h" #include <mmdeviceapi.h> IMMDeviceEnumerator *GetDeviceEnumerator() Read More...
I just spent a half an hour debugging a heisenbug and thought I’d pass on what was happening.   I was running my unit tests for one of my features and they were reliably failing.  Unfortunately the instant I ran the test case under the debugger, Read More...
'nuf said.     I know it's bragging, but I'm sorry - I really couldn't resist.  It's been a very long time. Read More...
 
Page view tracker