C++/WinRT event handlers that are lambdas with weak pointers to the parent class, part 1 May 31, 2023 May 31, 2023 05/31/23 Raymond Chen Assessing the state of affairs.
How do I change the directory Windows uses for user profiles? revisited May 30, 2023 May 30, 2023 05/30/23 Raymond Chen You can still do it, but it's not really supported.
On writing functions that accept any specialization of a C++ template type May 29, 2023 May 29, 2023 05/29/23 Raymond Chen There are the obvious arguments, the non-obvious arguments, and the invisible arguments.
Getting a strong reference from the this pointer too late May 26, 2023 May 26, 2023 05/26/23 Raymond Chen Once destruction begins, strong references mean nothing.
How can I trigger a recalc of the mouse cursor after I changed some of my internal application state?, follow-up May 25, 2023 May 25, 2023 05/25/23 Raymond Chen You still need to filter to your window, so you don't mess up another window on the same thread.
Don’t name your header file security.h either May 24, 2023 May 24, 2023 05/24/23 Raymond Chen You may be overriding an SDK header by mistake.
On creating (and using) a transforming iterator May 23, 2023 May 23, 2023 05/23/23 Raymond Chen It lets you change the thing being iterated over, on the fly.
Speeding up the insertion of a sorted (or mostly-sorted) key list into a std::map or other ordered associative container May 22, 2023 May 22, 2023 05/22/23 Raymond Chen Provide a hint for the location of the next item.
On catching exceptions in PPL tasks May 19, 2023 May 19, 2023 05/19/23 Raymond Chen You also have to catch the exception when it comes out the end of the task chain.
What is the opposite of LVM_SORTITEMS? May 18, 2023 May 18, 2023 05/18/23 Raymond Chen How can you unring the bell?