The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Dec 4, 2026
Post comments count 3
Post likes count 1

Fun fact: HTML DOM addEventListener discards duplicates

Raymond Chen

Can't do it twice, but what if you want to?

Dec 3, 2026
Post comments count 16
Post likes count 3

What does Windows “posix-style delete” mean, and how do I get it?

Raymond Chen

Make the name go away faster.

Dec 2, 2026
Post comments count 4
Post likes count 2

The dialog manager doesn’t remember the resource ID, but that doesn’t stop you from leaving your own breadcrumbs

Raymond Chen

Stashing information in a hidden control.

Dec 1, 2026
Post comments count 26
Post likes count 8

Why is Windows Explorer displaying a message about a software conflict with Roblox?

Raymond Chen

Deflecting blame onto the process you injected into.

Nov 30, 2026
Post comments count 12
Post likes count 2

Version control is not the same as version numbers

Raymond Chen

One is a release management problem; the other is a code development problem.

Nov 27, 2026
Post comments count 1
Post likes count 4

Could we use the CoreApplication Properties to manage the lifetime of an object that refuses to be marshaled?

Raymond Chen

It doesn't help with the underlying problem.

Nov 26, 2026
Post comments count 0
Post likes count 4

What happens when you put a non-agile object in the CoreApplication Properties?

Raymond Chen

The reference expires, but the entry remains.

Nov 25, 2026
Post comments count 0
Post likes count 4

Why did it seem that the entries in the CoreApplication Properties expired when the source application shut down?

Raymond Chen

It's not the Properties. It's the object that you put in the Properties.

Nov 24, 2026
Post comments count 1
Post likes count 3

What happens to entries in the CoreApplication Properties when the source apartment shuts down?

Raymond Chen

Nothing, unless it's the last apartment.