The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

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.

Jul 9, 2025
Post comments count 4
Post likes count 5

When I install an unhandled structured exception filter, why doesn’t std::terminate get called?

Raymond Chen

You're using the same hook that the compiler uses to call <CODE>std::<WBR>terminate</CODE>.

Jul 8, 2025
Post comments count 9
Post likes count 2

A walkthrough of the original Microsoft Building 3

Raymond Chen

Don't get lost on your walk down memory lane.

Jul 7, 2025
Post comments count 2
Post likes count 2

Dubious security vulnerability: If I perform this complex series of manual steps, I can crash a program I am running

Raymond Chen

What security boundary did you cross?