How can I check whether the user’s network connection is roaming or metered? October 13, 2022 Oct 13, 2022 10/13/22 Raymond Chen The classic way and the Windows Runtime way.
One possible reason why your program crashes when submitted to the Microsoft Store, but it runs fine on your machine October 12, 2022 Oct 12, 2022 10/12/22 Raymond Chen Check your minimum requirements.
Clicking past the warning that you are about to cross the airtight hatchway: Vulnerable file type that you are warned about October 11, 2022 Oct 11, 2022 10/11/22 Raymond Chen Acknowledging the danger but complaining about it anyway.
On the overloading of the address-of operator & in smart pointer classes October 10, 2022 Oct 10, 2022 10/10/22 Raymond Chen Different patterns, which means you're never sure what you're going to get.
How can I perform a CopyFile, but also flush the file buffers before the destination handle is closed? October 7, 2022 Oct 7, 2022 10/7/22 Raymond Chen Your callback function can do things with the handle, even extend their lifetime.
The Import Address Table is now write-protected, and what that means for rogue patching October 6, 2022 Oct 6, 2022 10/6/22 Raymond Chen Making a potential attack vector less attractive.
The gotcha of the C++ temporaries that don’t destruct as eagerly as you thought October 5, 2022 Oct 5, 2022 10/5/22 Raymond Chen You have to look for the end of the full expression.
Starting on the other side of this airtight hatchway: Overwhelming the system October 4, 2022 Oct 4, 2022 10/4/22 Raymond Chen It'll take time for things to drain out.
Feel free to stop using IMultiLanguage2::DetectInputCodepage October 3, 2022 Oct 3, 2022 10/3/22 Raymond Chen You should have been keeping your eye on the code page all along.
Debugging coroutine handles: Looking for the source of a one-byte memory corruption September 30, 2022 Sep 30, 2022 09/30/22 Raymond Chen Applying what we know about coroutines.