What happened to the custom exception description I threw from a C++/WinRT IAsyncAction? November 16, 2023 Nov 16, 2023 11/16/23 Raymond Chen The description is just a courtesy and is not part of the API contract.
Why does calling a coroutine allocate a lot of stack space even though the coroutine frame is on the heap? November 15, 2023 Nov 15, 2023 11/15/23 Raymond Chen Heap elision optimization kicks in, and doesn't kick out.
Starting on the other side of this airtight hatchway: Running a program that leaks memory November 14, 2023 Nov 14, 2023 11/14/23 Raymond Chen There are a lot of things you can do to consume memory.
What is the difference between UuidToString, StringFromCLSID, StringFromIID, and StringFromGUID2? November 13, 2023 Nov 13, 2023 11/13/23 Raymond Chen Different ways of stringizing a GUID.
The case of the invalid argument exception from a method that takes no arguments November 10, 2023 Nov 10, 2023 11/10/23 Raymond Chen Where did the invalid argument come from?
A clarification on the multithreading constraints of the EncryptMessage function November 9, 2023 Nov 9, 2023 11/9/23 Raymond Chen Reading a sentence in the context of the whole paragraph.
How can I get information about media playing on the system, and optionally control their playback? November 8, 2023 Nov 8, 2023 11/8/23 Raymond Chen Going to the global system media transport controls world.
“Stop sharing this folder” is not the same as “Never share this folder” November 7, 2023 Nov 7, 2023 11/7/23 Raymond Chen It stops sharing the folder, but that doesn't prevent you from starting it again.
Why doesn’t reduction by modulo work for floating point values? November 6, 2023 Nov 6, 2023 11/6/23 Raymond Chen Working out why it works for integers and seeing what goes wrong.
Why does unsafe multithreaded use of an std::unordered_map crash more often than unsafe multithreaded use of a std::map? November 3, 2023 Nov 3, 2023 11/3/23 Raymond Chen It's all in the implementation details.