The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Apr 25, 2025
Post comments count 11
Post likes count 3

If we can have std::atomic<std::shared_ptr>, why not std::atomic<com_ptr>?

Raymond Chen

Controlling the reference count.

Apr 24, 2025
Post comments count 5
Post likes count 3

When I define a window class with no default cursor, what is the explanation for the cursors that appear in my client area?

Raymond Chen

You said you'd take care of it, but you didn't.

Apr 23, 2025
Post comments count 7
Post likes count 3

What resource ID should I give my application’s main icon?

Raymond Chen

Applying what we know about how Explorer finds the "first" icon in a file.

Apr 22, 2025
Post comments count 6
Post likes count 1

Microspeak: top of mind

Raymond Chen

Things I'm thinking about.

Apr 21, 2025
Post comments count 20
Post likes count 1

The ongoing story of seconds on the taskbar

Raymond Chen

The cost of ticking.

Apr 18, 2025
Post comments count 2
Post likes count 1

The case of the feature flag that didn’t stay on long enough, part 2

Raymond Chen

Leaving everything the way you found it.

Apr 17, 2025
Post comments count 3
Post likes count 2

The case of the feature flag that didn’t stay on long enough, part 1

Raymond Chen

Understanding scope and order of destruction.

Apr 16, 2025
Post comments count 0
Post likes count 1

Using the classical model for linking to provide unit test overrides

Raymond Chen

Overriding a LIB with an OBJ for fun and profit.

Apr 15, 2025
Post comments count 16
Post likes count 2

There was a lot of imagined dropping tablets in swimming pools

Raymond Chen

The archetypical example of needing a replacement computer.