The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Nov 13, 2026
Post comments count 1
Post likes count 2

How can I make it easier to use the helper class that lets me pass more than one parameter to co_await?

Raymond Chen

Remove the need to have to type out the name of the helper.

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

How can I pass more than one parameter to co_await?

Raymond Chen

The <CODE>co_await</CODE> operator takes only one parameter, but it can be a big parameter.

Nov 11, 2026
Post comments count 2
Post likes count 4

I didn’t write a program with emoji, but I did use a control character

Raymond Chen

My program was a fairly simple one.

Nov 10, 2026
Post comments count 17
Post likes count 3

Microsoft employee price list from 1987

Raymond Chen

The Microsoft product catalog.

Nov 6, 2026
Post comments count 0
Post likes count 2

Why are we all worked up about atomicity when applying hot-patches if we can just suspend all the threads?

Raymond Chen

Suspending all the threads stops the threads that are there now, those are not the only possible sources of change.

Nov 5, 2026
Post comments count 4
Post likes count 4

You shouldn’t change the style of a Win32 static control after it has been created

Raymond Chen

It doesn't really handle that case.

Nov 4, 2026
Post comments count 3
Post likes count 7

There are things with ranks, but it’s not always clear what the ranks mean

Raymond Chen

The problem with documentation written by people who know the feature too well.

Nov 3, 2026
Post comments count 9
Post likes count 6

How do you implement a random-access database when you don’t have random-access external storage?

Raymond Chen

You just store it all in memory, in your own program.