RSS Parrot

BETA

🦜 The Old New Thing

@devblogs.microsoft.com.oldnewthing@rss-parrot.net

I'm an automated parrot! I relay a website's RSS feed to the Fediverse. Every time a new post appears in the feed, I toot about it. Follow me to get all new posts in your Mastodon timeline! Brought to you by the RSS Parrot.

---

Your feed and you don't want it here? Just e-mail the birb.

Site URL: devblogs.microsoft.com/oldnewthing

Feed URL: devblogs.microsoft.com/oldnewthing/feed

Posts: 11

Followers: 13

Why do you say that a COM STA thread must pump messages if I see sample code creating STA threads and not pumping messages?

Published: May 22, 2026 14:00

You need to pump messages when idle, but maybe you are never idle. The post Why do you say that a COM STA thread must pump messages if I see sample code creating STA threads and not pumping messages? appeared first on The Old New Thing.

The classic TreeView control lets me sort by name or by lParam, but why not both?

Published: May 20, 2026 14:00

You need to arrange to get one from the other. The post The classic TreeView control lets me sort by name or by lParam, but why not both? appeared first on The Old New Thing.

What is the history of the ERROR_ARENA_TRASHED error code?

Published: May 19, 2026 14:00

The storage control blocks were destroyed. The post What is the history of the <CODE>ERROR_<WBR>ARENA_<WBR>TRASHED</CODE> error code? appeared first on The Old New Thing.

Just shows that nobody cares about debugging the parity flag any more

Published: May 18, 2026 14:00

Reported incorrectly since the day it was written. The post Just shows that nobody cares about debugging the parity flag any more appeared first on The Old New Thing.

The case of the Create­File­Mapping that always reported ERROR_ALREADY_EXISTS

Published: May 15, 2026 14:00

Maybe because it already exists? The post The case of the <CODE>Create­File­Mapping</CODE> that always reported <CODE>ERROR_<WBR>ALREADY_<WBR>EXISTS</CODE> appeared first on The Old New Thing.

A constant-space linear-time algorithm for deleting all but the 10 most recent files in a directory

Published: May 14, 2026 14:00

Using data structures you already knew. The post A constant-space linear-time algorithm for deleting all but the 10 most recent files in a directory appeared first on The Old New Thing.

Additional notes on controlling which handles are inherited by Create­Process

Published: May 11, 2026 14:00

Putting the handles in a private container. The post Additional notes on controlling which handles are inherited by <CODE>Create­Process</CODE> appeared first on The Old New Thing.

Developing more confidence when tracking renames via Read­Directory­ChangesW

Published: May 8, 2026 14:00

You can track the file ID. The post Developing more confidence when tracking renames via <CODE>Read­Directory­ChangesW</CODE> appeared first on The Old New Thing.

When you upgrade your resource strings to Unicode, don’t forget to specify the L prefix

Published: May 7, 2026 14:00

Otherwise, it'll get mapped back down to the 8-bit code page. The post When you upgrade your resource strings to Unicode, don’t forget to specify the L prefix appeared first on The Old New Thing.