Can shrinking a std::string throw an exception? January 20, 2020 Jan 20, 2020 01/20/20 Raymond Chen It depends on how you shrink it.
How can I turn a structured exception into a C++ exception without having to use /EHa, if I can constrain exactly where the structured exception is coming from? January 17, 2020 Jan 17, 2020 01/17/20 Raymond Chen Trying to contain the damage.
How can I handle both structured exceptions and C++ exceptions potentially coming from the same source? January 16, 2020 Jan 16, 2020 01/16/20 Raymond Chen Call for a translator.
Why can’t I use SHSetKnownFolderPath to change the location of FOLDERID_LocalAppData? January 15, 2020 Jan 15, 2020 01/15/20 Raymond Chen A acknowledgement of the reality that it not only doesn't work, but leaves the user profile corrupted.
The historical significance of the Burgermaster drive-in restaurant January 14, 2020 Jan 14, 2020 01/14/20 Raymond Chen You can just phone it in.
It’s not a security vulnerability that users can access files that they have access to, even if the file is a little hard to find January 13, 2020 Jan 13, 2020 01/13/20 Raymond Chen Perhaps it's behind a sign that says Beware of the Leopard.
Over-documenting TTM_RELAYEVENT and why it results in a one-second periodic timer running as long as the tooltip is visible January 10, 2020 Jan 10, 2020 01/10/20 Raymond Chen Too much information leads to trouble.
Tree-walking algorithms: Incrementally performing an inorder walk of a binary tree January 9, 2020 Jan 9, 2020 01/9/20 Raymond Chen We need to keep track of where we came from.
Tree-walking algorithms: Incrementally performing a postorder walk of an N-ary tree January 8, 2020 Jan 8, 2020 01/8/20 Raymond Chen This time, we report on the way back up.
Tree-walking algorithms: Incrementally performing a preorder walk of an N-ary tree January 7, 2020 Jan 7, 2020 01/7/20 Raymond Chen Remembering whether you were moving down or up.