The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

C++/WinRT implementation inheritance: Notes on <CODE>winrt::implements</CODE>, part 4
Feb 24, 2025
0
0

C++/WinRT implementation inheritance: Notes on winrt::implements, part 4

Raymond Chen
Raymond Chen

Simple inheritance of a self-contained implements.

C++/WinRT implementation inheritance: Notes on <CODE>winrt::implements</CODE>, part 3
Feb 21, 2025
5
0

C++/WinRT implementation inheritance: Notes on winrt::implements, part 3

Raymond Chen
Raymond Chen

Discovering the legal inheritance structures for winrt::implements.

C++/WinRT implementation inheritance: Notes on <CODE>winrt::implements</CODE>, part 2
Feb 20, 2025
0
0

C++/WinRT implementation inheritance: Notes on winrt::implements, part 2

Raymond Chen
Raymond Chen

Untangling unwrap_implements_t.

C++/WinRT implementation inheritance: Notes on <CODE>winrt::implements</CODE>, part 1
Feb 19, 2025
0
1

C++/WinRT implementation inheritance: Notes on winrt::implements, part 1

Raymond Chen
Raymond Chen

A closer look at the parameters to the implements template.

Your statement is now available, just two hidden flyouts and five clicks away
Feb 18, 2025
4
5

Your statement is now available, just two hidden flyouts and five clicks away

Raymond Chen
Raymond Chen

Beware of the leopard.

API design note: Beware of adding an “Other” enum value
Feb 17, 2025
7
5

API design note: Beware of adding an “Other” enum value

Raymond Chen
Raymond Chen

What are you going to do when you add a new kind?

Investigating an argument-dependent lookup issue and working around it
Feb 14, 2025
3
3

Investigating an argument-dependent lookup issue and working around it

Raymond Chen
Raymond Chen

Picking apart the language specification.

A sample implementation of the weak reference pattern for COM callbacks
Feb 13, 2025
1
1

A sample implementation of the weak reference pattern for COM callbacks

Raymond Chen
Raymond Chen

A forwarder through a weak reference.

Async-Async revisited: What about cancellation?
Feb 12, 2025
3
2

Async-Async revisited: What about cancellation?

Raymond Chen
Raymond Chen

Even the cancellation is async.