What’s the difference between throwing a winrt::hresult_error and using winrt::throw_hresult? July 16, 2021 Jul 16, 2021 07/16/21 Raymond Chen It affects the error origination.
On proper handling of buffers in COM and RPC methods July 15, 2021 Jul 15, 2021 07/15/21 Raymond Chen The RPC layer deals with most of the problems for you, assuming you're using the RPC layer.
How to perform more complicated search and replace-style renaming in a batch file July 14, 2021 Jul 14, 2021 07/14/21 Raymond Chen Try something other than wildcards.
How did copying and renaming with wildcards work in MS-DOS? July 13, 2021 Jul 13, 2021 07/13/21 Raymond Chen By lining up two parallel arrays.
Why do smart pointers null out the wrapped pointer before destroying it? July 12, 2021 Jul 12, 2021 07/12/21 Raymond Chen It's not a race condition, but it's some condition.
On the perils of holding a lock across a coroutine suspension point, part 3: Solutions July 9, 2021 Jul 9, 2021 07/9/21 Raymond Chen How to avoid the trap.
On the perils of holding a lock across a coroutine suspension point, part 2: Nonrecursive mutexes July 8, 2021 Jul 8, 2021 07/8/21 Raymond Chen Another way things can go wrong.
On the perils of holding a lock across a coroutine suspension point, part 1: The set-up July 7, 2021 Jul 7, 2021 07/7/21 Raymond Chen One way things can go wrong.
How to act like you know Chinese even though you don’t, episode 2 July 6, 2021 Jul 6, 2021 07/6/21 Raymond Chen Find the magic word.
What happens if I use a squash instead of a true merge when performing one of the git tricks? July 6, 2021 Jul 6, 2021 07/6/21 Raymond Chen In many cases, the merge is where the magic is.