The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

How can I wait for Clipboard History to recognize a clipboard change before I change it again?
May 9, 2025
Post comments count 3
Post likes count 2

How can I wait for Clipboard History to recognize a clipboard change before I change it again?

Raymond Chen
Raymond Chen

Listen for the change event.

Why doesn’t Clipboard History capture rapid changes to clipboard contents?
May 8, 2025
Post comments count 3
Post likes count 1

Why doesn’t Clipboard History capture rapid changes to clipboard contents?

Raymond Chen
Raymond Chen

Clipboard history operates asynchronously, so you are changing it before it can respond to the changes.

What were the MS-DOS programs that the <TT>moricons.dll</TT> icons were intended for?
May 7, 2025
Post comments count 11
Post likes count 2

What were the MS-DOS programs that the moricons.dll icons were intended for?

Raymond Chen
Raymond Chen

Tallying them up.

What were the MS-DOS programs that Windows used the <TT>progman.exe</TT> stock icons for?
May 6, 2025
Post comments count 7
Post likes count 4

What were the MS-DOS programs that Windows used the progman.exe stock icons for?

Raymond Chen
Raymond Chen

Mostly generic-looking icons.

What were the intended uses of those icons in <TT>moricons.dll</TT>?
May 5, 2025
Post comments count 8
Post likes count 3

What were the intended uses of those icons in moricons.dll?

Raymond Chen
Raymond Chen

Icons for old MS-DOS apps.

Using type aliasing to avoid the ODR problem with conditional compilation, part 2
May 2, 2025
Post comments count 4
Post likes count 1

Using type aliasing to avoid the ODR problem with conditional compilation, part 2

Raymond Chen
Raymond Chen

Ensuring that you pick a side.

Using C++ type aliasing to avoid the ODR problem with conditional compilation, part 1
May 1, 2025
Post comments count 3
Post likes count 2

Using C++ type aliasing to avoid the ODR problem with conditional compilation, part 1

Raymond Chen
Raymond Chen

Still one definition, but two types.

Why does Windows have trouble finding my Win32 resource if it contains an accented character?
Apr 30, 2025
Post comments count 6
Post likes count 3

Why does Windows have trouble finding my Win32 resource if it contains an accented character?

Raymond Chen
Raymond Chen

Disagreements over the fine print.

Protecting Windows users from Janet Jackson’s <I>Rhythm Nation</I>
Apr 29, 2025
Post comments count 9
Post likes count 2

Protecting Windows users from Janet Jackson’s Rhythm Nation

Raymond Chen
Raymond Chen

Granting an exception to a system policy.