Oct 20, 2022 Post comments count1 Post likes count4 Is it true that raising a structured exception from a structured exception handler terminates the process? Raymond Chen Untangling the myth.
Oct 19, 2022 Post comments count1 Post likes count4 Why is there a make_unique? Why not just overload the unique_ptr constructor? Raymond Chen You'll have to resolve the ambiguity, so you're still typing a lot.
Oct 17, 2022 Post comments count11 Post likes count3 How can I check the integrity level of my process? Raymond Chen A series of range checks.
Oct 14, 2022 Post comments count3 Post likes count1 The case of the memory corruption from a coroutine that already finished Raymond Chen The zombie coroutine.
Oct 13, 2022 Post comments count1 Post likes count4 How can I check whether the user’s network connection is roaming or metered? Raymond Chen The classic way and the Windows Runtime way.
Oct 12, 2022 Post comments count0 Post likes count1 One possible reason why your program crashes when submitted to the Microsoft Store, but it runs fine on your machine Raymond Chen Check your minimum requirements.
Oct 10, 2022 Post comments count5 Post likes count2 On the overloading of the address-of operator & in smart pointer classes Raymond Chen Different patterns, which means you're never sure what you're going to get.
Oct 7, 2022 Post comments count7 Post likes count6 How can I perform a CopyFile, but also flush the file buffers before the destination handle is closed? Raymond Chen Your callback function can do things with the handle, even extend their lifetime.
Oct 6, 2022 Post comments count9 Post likes count4 The Import Address Table is now write-protected, and what that means for rogue patching Raymond Chen Making a potential attack vector less attractive.
Oct 5, 2022 Post comments count7 Post likes count5 The gotcha of the C++ temporaries that don’t destruct as eagerly as you thought Raymond Chen You have to look for the end of the full expression.