The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Jul 8, 2024
Post comments count 5
Post likes count 3

What’s the point of std::monostate? You can’t do anything with it!

Raymond Chen

Not doing anything with it is exactly the point.

Jul 5, 2024
Post comments count 0
Post likes count 2

How do I produce a Windows Runtime asynchronous activity from C++/WinRT?

Raymond Chen

Somebody that deals with them natively.

Jul 4, 2024
Post comments count 2
Post likes count 3

How do I produce a Windows Runtime asynchronous activity from C#?

Raymond Chen

The AsyncInfo helper class converts Tasks to Windows Runtime asynchronous activities.

Jul 3, 2024
Post comments count 1
Post likes count 1

How do I produce a Windows Runtime asynchronous activity from C++/CX?

Raymond Chen

The Parallel Patterns Library has special support for C++/CX.

Jul 2, 2024
Post comments count 22
Post likes count 5

The history of Alt+number sequences, and why Alt+9731 sometimes gives you a heart and sometimes a snowman

Raymond Chen

Code pages and custom keyboard handling.

Jul 1, 2024
Post comments count 5
Post likes count 3

If I register the same shell extension as both a context menu extension and a drag/drop extension, how do I know which one the system is using?

Raymond Chen

Who forced you to register the same shell extension for both?

Jun 28, 2024
Post comments count 11
Post likes count 3

2024 mid-year link clearance

Raymond Chen

Emptying out the junk drawer.

Jun 28, 2024
Post comments count 2
Post likes count 3

Writing a remove_all_pointers type trait, part 2

Raymond Chen

Factoring out the type resolution to after the dangerous part.

Jun 27, 2024
Post comments count 3
Post likes count 3

Writing a remove_all_pointers type trait, part 1

Raymond Chen

Delaying the expansion to avoid infinite recursion.