- Dev Blogs
- The Old New Thing
The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts

Mar 7, 2025
7
0
To some people, time zones are just a fancy way of sounding important, episode 2

Words have meaning.

Mar 6, 2025
3
0
How can I choose a different C++ constructor at runtime?

Make somebody else do it, and then use copy elision.

Mar 5, 2025
0
1
I tried to subscribe to a C++/WinRT event, but my callback was never called

Check how you registered your event handler.


Mar 3, 2025
1
2
Lexically scoped functions accessing parent locals: The display

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

Feb 28, 2025
1
0
C++/WinRT implementation inheritance: Notes on winrt::implements
, part 8

Comparing the options.

Feb 27, 2025
0
0
C++/WinRT implementation inheritance: Notes on winrt::implements
, part 7

Inheritance without involving winrt::implements
at all.

Feb 26, 2025
0
1
C++/WinRT implementation inheritance: Notes on winrt::implements
, part 6

Using CRTP to delegate the method.

Feb 25, 2025
0
0
C++/WinRT implementation inheritance: Notes on winrt::implements
, part 5

When the base class isn't self-contained.