The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Creating an already-completed asynchronous activity in C++/WinRT, part 3
Jul 11, 2024
Post comments count 0
Post likes count 1

Creating an already-completed asynchronous activity in C++/WinRT, part 3

Raymond Chen
Raymond Chen

Generalizing to the four kinds of Windows Runtime asynchronous activities.

Creating an already-completed asynchronous activity in C++/WinRT, part 2
Jul 10, 2024
Post comments count 2
Post likes count 2

Creating an already-completed asynchronous activity in C++/WinRT, part 2

Raymond Chen
Raymond Chen

Making our function a coroutine.

Creating an already-completed asynchonous activity in C++/WinRT, part 1
Jul 9, 2024
Post comments count 2
Post likes count 1

Creating an already-completed asynchonous activity in C++/WinRT, part 1

Raymond Chen
Raymond Chen

The simplest version.

What’s the point of <CODE>std::<WBR>monostate</CODE>? You can’t do anything with it!
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
Raymond Chen

Not doing anything with it is exactly the point.

How do I produce a Windows Runtime asynchronous activity from C++/WinRT?
Jul 5, 2024
Post comments count 0
Post likes count 1

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

Raymond Chen
Raymond Chen

Somebody that deals with them natively.

How do I produce a Windows Runtime asynchronous activity from C#?
Jul 4, 2024
Post comments count 2
Post likes count 3

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

Raymond Chen
Raymond Chen

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

How do I produce a Windows Runtime asynchronous activity from C++/CX?
Jul 3, 2024
Post comments count 1
Post likes count 0

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

Raymond Chen
Raymond Chen

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

The history of <KBD>Alt</KBD>+number sequences, and why <KBD>Alt</KBD>+<KBD>9731</KBD> sometimes gives you a heart and sometimes a snowman
Jul 2, 2024
Post comments count 22
Post likes count 4

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

Raymond Chen
Raymond Chen

Code pages and custom keyboard handling.

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?
Jul 1, 2024
Post comments count 5
Post likes count 2

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
Raymond Chen

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