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