The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Mar 5, 2025
Post comments count 0
Post likes count 2

I tried to subscribe to a C++/WinRT event, but my callback was never called

Raymond Chen

Check how you registered your event handler.

Mar 4, 2025
Post comments count 2
Post likes count 3

Microspeak: Respin

Raymond Chen

Spin it up again, baby.

Mar 3, 2025
Post comments count 1
Post likes count 3

Lexically scoped functions accessing parent locals: The display

Raymond Chen

Using a well-known location instead of copying frame pointers.

Feb 28, 2025
Post comments count 1
Post likes count 2

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

Raymond Chen

Comparing the options.

Feb 27, 2025
Post comments count 0
Post likes count 2

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

Raymond Chen

Inheritance without involving <CODE>winrt::implements</CODE> at all.

Feb 26, 2025
Post comments count 0
Post likes count 1

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

Raymond Chen

Using CRTP to delegate the method.

Feb 25, 2025
Post comments count 0
Post likes count 1

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

Raymond Chen

When the base class isn't self-contained.

Feb 24, 2025
Post comments count 0
Post likes count 1

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

Raymond Chen

Simple inheritance of a self-contained <CODE>implements</CODE>.

Feb 21, 2025
Post comments count 9
Post likes count 1

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

Raymond Chen

Discovering the legal inheritance structures for <CODE>winrt::<WBR>implements</CODE>.