The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Jul 28, 2026
Post comments count 0
Post likes count 0

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 7

Raymond Chen

Further explorations into exception safety.

Jul 27, 2026
Post comments count 2
Post likes count 1

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 6

Raymond Chen

Exception-safety, the invisible bug.

Jul 24, 2026
Post comments count 1
Post likes count 2

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 5

Raymond Chen

Making sure to use the non-agile delegate non-agile-ly.

Jul 23, 2026
Post comments count 2
Post likes count 2

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 4

Raymond Chen

Optimizing the context check.

Jul 22, 2026
Post comments count 0
Post likes count 3

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 3

Raymond Chen

The object that actively refuses to be marshaled.

Jul 21, 2026
Post comments count 0
Post likes count 3

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 2

Raymond Chen

Short-circuiting the easiest case.

Jul 20, 2026
Post comments count 2
Post likes count 2

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 1

Raymond Chen

The easy case is easy.

Jul 17, 2026
Post comments count 9
Post likes count 3

Why has the display control panel pointer truncation bug gone unfixed for so long?

Raymond Chen

It's fixed, but the fix isn't getting there.

Jul 16, 2026
Post comments count 3
Post likes count 3

Speculating on how the buggy control panel extension truncated a value that it had right in front of it

Raymond Chen

Inferring the code's history.