Sep 29, 2023 Post comments count0 Post likes count1 Template meta-programming: Avoiding saying a type before it is complete Raymond Chen Deferring use until after the class is defined.
Sep 28, 2023 Post comments count2 Post likes count2 C++/WinRT gotcha: get_strong() will produce a broken strong reference if destruction has already begun Raymond Chen A strong reference to nothing.
Sep 27, 2023 Post comments count4 Post likes count3 The dangers of releasing the last strong reference from within its own callback Raymond Chen Deadlocking with yourself.
Sep 25, 2023 Post comments count1 Post likes count3 GetQueueStatus and the queue state Raymond Chen There's stuff going on that's hiding behind the innocuous-looking name.
Sep 22, 2023 Post comments count3 Post likes count6 When I try to call an exported function, the target crashes when it tries to call any Windows function Raymond Chen Using what you know about how functions are imported to construct a theory that matches the evidence.
Sep 21, 2023 Post comments count9 Post likes count8 How does Explorer calculate the “Date” of a file? Raymond Chen Mapping the generic concept to specific file types.
Sep 20, 2023 Post comments count1 Post likes count1 Why does my C++/WinRT project get unresolved externals for constructors? Raymond Chen You forgot to include the namespace header file, didn't you.
Sep 15, 2023 Post comments count6 Post likes count2 How can I prevent myself from using a parameter after I’ve extracted all value from it? Raymond Chen You can shadow it with something useless.
Sep 14, 2023 Post comments count7 Post likes count3 I accidentally performed an operation on INVALID_HANDLE_VALUE, and it worked: What just happened? Raymond Chen Coincidentally valid, but not what you think.
Sep 13, 2023 Post comments count1 Post likes count2 How do I perform a case-insensitive comparison of two strings in the Deseret script? Raymond Chen It sort of depends on why you're comparing them.