The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

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

Raymond Chen

Better versions in a different box.

Jul 21, 2025
Post comments count 1
Post likes count 4

What happens if C++/WinRT is unable to resume execution on a dispatcher thread?

Raymond Chen

What you get out of the box.

Jul 18, 2025
Post comments count 20
Post likes count 4

The case of the invalid instruction exception on an instruction that should never have executed

Raymond Chen

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

Jul 17, 2025
Post comments count 0
Post likes count 3

If the Window Runtime PropertyValue is for boxing non-inspectables, why is there a PropertyValue.CreateInspectable?

Raymond Chen

For completeness, but not for functionality.

Jul 16, 2025
Post comments count 5
Post likes count 5

The Fundamental Failure-Mode Theorem: Systems lie about their proper functioning

Raymond Chen

It doesn't say what it does on the tin.

Jul 15, 2025
Post comments count 0
Post likes count 6

Perhaps not a recommended usage for an emergency power outlet

Raymond Chen

Maybe that's not a critical system.

Jul 14, 2025
Post comments count 5
Post likes count 5

There is a std::chrono::high_resolution_clock, but no low_resolution_clock

Raymond Chen

For when you care only enough to be roughly on time.

Jul 11, 2025
Post comments count 3
Post likes count 4

Detecting and reporting all unhandled C++ exceptions as well as all unhandled structured exceptions

Raymond Chen

Closing another exit point.

Jul 10, 2025
Post comments count 7
Post likes count 3

Our first attempt to detect and report all unhandled C++ exceptions as well as all unhandled structured exceptions

Raymond Chen

Identifying and classifying the exit points.