The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts

In C++/WinRT, how can I await multiple coroutines and capture the results?, part 2

Wrapping the results and returning them in a tuple.

In C++/WinRT, how can I await multiple coroutines and capture the results?, part 1

Using a custom awaiter to suppress the GetResults()
.

After I accidentally denied access to everyone, how do I get access back?

Congratulations, you locked your keys in the car.

How do I prevent my C++/WinRT implementation class from participating in COM aggregation?

Looking for a clue.

The case of the vector with an impossibly large size

Play threading games, win threading prizes.

How can I specify icons for my app to use on the Start menu in high contrast mode?

Put them in your manifest.

Why doesn’t my code compile when I change a shared_ptr<T>(p)
to an equivalent make_shared<T>(p)
?

It depends on who is doing the parameter conversion.

It rather involved being on the other side of this airtight hatchway: Attacking another program by modifying its memory

If you assume the existence of a vulnerability, you can use that vulnerability to attack something.

How do I prevent my ATL class from participating in COM aggregation? DECLARE_NOT_AGGREGATABLE
didn’t work

That marker applies only to creation via the class factory.