Welcome to MSDN Blogs Sign in | Join | Help

June 2009 - Posts

Raymond Chen’s post today started me thinking about “Last Check-in Chicken” again.  Back in the says when we were close to shipping Windows Vista, I wrote about ” Last Check-in Chicken ”.  What I didn’t mention was who ultimately won the game Read More...
Yesterday I posted a code snippet from inside a real piece of code inside the client side of a client/server utility in a Microsoft product. static DWORD WINAPI _PlayBeep(__in void* pv) { UNREFERENCED_PARAMETER(pv); PlaySound(L".Default", NULL, Read More...
This is an example of a real-world bug that was recently fixed in an unreleased Microsoft product.  I was told about the bug because it involved the PlaySound API (and thus they asked me to code review the fix), but it could happen with any application. Read More...
A number of times in the past, I’ve mentioned that the PlaySound(xxx, xxx, SND_MEMORY|SND_ASYNC) pattern is almost always a bad idea.  After the last wave of crash dumps were received for this problem, our team decided to do something about it.  Read More...
We were doing some code reviews on the new Win7 SDK samples the other day and one of the code reviewers noticed that the code used wcslen to compute the length of a string. He pointed out that the SDL Banned API page calls out strlen/wcslen as being banned Read More...
 
Page view tracker