The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Mar 28, 2025
Post comments count 1
Post likes count 3

The 2025/2026 Seattle Symphony subscription season at a glance

Raymond Chen

The pocket reference guide for 2025/2026.

Mar 28, 2025
Post comments count 3
Post likes count 2

Fixing exception safety in our task_sequencer

Raymond Chen

Exception safety, the forgotten requirement.

Mar 27, 2025
Post comments count 8
Post likes count 2

On launching a dialog when a specific combo box item is selected

Raymond Chen

Changing selections is not a good time to launch a dialog box.

Mar 26, 2025
Post comments count 1
Post likes count 4

Why does INVALID_HANDLE_VALUE cast through a LONG_PTR first?

Raymond Chen

To ensure that the proper sign extension happens.

Mar 25, 2025
Post comments count 4
Post likes count 1

We’ll fly you to Atlanta, Texas, and getting to your hotel in Atlanta, Georgia is your problem

Raymond Chen

Reading the fine print.

Mar 25, 2025
Post comments count 7
Post likes count 4

A note on the USB-to-PS/2 mouse adapter that came with Microsoft mouse devices

Raymond Chen

It's a purely mechanical adapter that relies on smarts in the mouse itself.

Mar 24, 2025
Post comments count 11
Post likes count 2

On how different Windows ABIs choose how to pass 32-bit values in 64-bit registers

Raymond Chen

Surveying the options and looking for commonalities.

Mar 21, 2025
Post comments count 11
Post likes count 4

The case of the critical section that let multiple threads enter a block of code

Raymond Chen

It had one job.

Mar 20, 2025
Post comments count 4
Post likes count 1

What could cause a memory corruption bug to disappear in safe mode?

Raymond Chen

A simplified execution environment means fewer things that you can stumble over.