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

Jul 30, 2025
Post comments count
0
Post likes count
0
In C++/WinRT, how can I await multiple coroutines and capture the results?, part 0

If you don't really care about what happens if something goes wrong.

Jul 29, 2025
Post comments count
14
Post likes count
1
Why is there a window with no name blocking Windows shutdown?

They never expected you to see it.

Jul 28, 2025
Post comments count
1
Post likes count
1
API design note: Don’t make up multiple names for the same thing

It may be obvious to you, but that's because you wrote it.

Jul 25, 2025
Post comments count
0
Post likes count
3
How can I confirm in the Windows debugger that I’m looking at a COMDAT-folded function?

Ask for all the names for an address.

Jul 24, 2025
Post comments count
5
Post likes count
3
How can I wait until a named object (say a mutex) is created?

You can't, but maybe you can wait for something else.

Jul 23, 2025
Post comments count
5
Post likes count
1
Exploring possible solutions to the inconsistency in how Windows searches case-insensitively for named resources

Maintaining compatibility while addressing flaws.

Jul 22, 2025
Post comments count
2
Post likes count
2
Being more adamant about reporting that C++/WinRT was unable to resume execution on a dispatcher thread

Better versions in a different box.

Jul 21, 2025
Post comments count
1
Post likes count
3
What happens if C++/WinRT is unable to resume execution on a dispatcher thread?

What you get out of the box.

Jul 18, 2025
Post comments count
19
Post likes count
4
The case of the invalid instruction exception on an instruction that should never have executed

I don't recall ever asking you to do that.