close
The Wayback Machine - https://web.archive.org/web/20191101143636/https://devblogs.microsoft.com/oldnewthing/

The Old New Thing

Image

Uncategorized

Image
Why does my program crash if I terminate a thread that is waiting to enter a critical section? It never got the critical section, so who cares?

But we care that it's still waiting.

Image
For one internal build, Windows 95 contained an evil message

Another prank from the user interface team.

Image
The program “G” is preventing you from shutting down

Minding your character set.

Image
If you suppress GDI+ background thread, then you are expected to pump messages yourself

That stuff is now happening on your thread.

Image
Did you hear that story about Bill Gates?: A PR person’s view

They've heard them all.

Image
Why does Format­Message say that %0 terminates the message without a trailing newline? Is it secretly adding newlines?

Well, it's not Format­Message that's adding the newline.

Image
If you want to terminate on an unexpected exception, then don’t sniff at every exception; just let the process terminate

Get the stack before it unwinds.

Image
Why can’t I create a “Please wait” dialog from a background thread to inform the user that the main UI thread is busy?

Reversal of fortune.

Image
What’s the difference between the hotkeys F6 and Alt+F6?

Switching between things, but different things.

Image
When I tell the file or folder picker that I want only file system files and folders, why does it still show virtual folders?

Because there might be a file hiding under it.