The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

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

Adding delays to our task sequencer, part 3

Raymond Chen
Raymond Chen

Waiting more cheaply.

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

Adding delays to our task sequencer, part 2

Raymond Chen
Raymond Chen

Waiting the right amount of time.

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

Adding delays to our task sequencer, part 1

Raymond Chen
Raymond Chen

Not so fast there.

The return of Building 7
Apr 1, 2025
1
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.