The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Jul 17, 2024
Post comments count 2
Post likes count 1

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

Raymond Chen

Implementing the contract directly.

Jul 16, 2024
Post comments count 0
Post likes count 1

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

Raymond Chen

Let the conversion do the talking.

Jul 15, 2024
Post comments count 0
Post likes count 1

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

Raymond Chen

Trying to fail more correctly.

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

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

Raymond Chen

Failing is easy. Failing correctly is hard.

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

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

Raymond Chen

Generalizing to the four kinds of Windows Runtime asynchronous activities.

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

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

Raymond Chen

Making our function a coroutine.

Jul 9, 2024
Post comments count 2
Post likes count 2

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

Raymond Chen

The simplest version.

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.