The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Adding delays to our task sequencer, part 1
Apr 2, 2025
0
0

Adding delays to our task sequencer, part 1

Raymond Chen
Raymond Chen

Not so fast there.

The return of Building 7
Apr 1, 2025
0
1

The return of Building 7

Raymond Chen
Raymond Chen

Pranksters lose one of their longtime inside jokes.

If one program blocks shutdown, then <I>all</I> programs block shutdown, revisited
The 2025/2026 Seattle Symphony subscription season at a glance
Mar 28, 2025
0
1

The 2025/2026 Seattle Symphony subscription season at a glance

Raymond Chen
Raymond Chen

The pocket reference guide for 2025/2026.

Fixing exception safety in our <CODE>task_<WBR>sequencer</CODE>
Mar 28, 2025
3
1

Fixing exception safety in our task_sequencer

Raymond Chen
Raymond Chen

Exception safety, the forgotten requirement.

On launching a dialog when a specific combo box item is selected
Mar 27, 2025
8
2

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

Raymond Chen
Raymond Chen

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

Why does <ODE>INVALID_<WBR>HANDLE_<WBR>VALUE</CODE> cast through a <CODE>LONG_PTR</CODE> first?
Mar 26, 2025
1
4

Why does INVALID_HANDLE_VALUE cast through a LONG_PTR first?

Raymond Chen
Raymond Chen

To ensure that the proper sign extension happens.

We’ll fly you to Atlanta, Texas, and getting to your hotel in Atlanta, Georgia is your problem
A note on the USB-to-PS/2 mouse adapter that came with Microsoft mouse devices
Mar 25, 2025
7
3

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

Raymond Chen
Raymond Chen

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