Oct 16, 2023 Post comments count9 Post likes count3 API design principle: Reading a property or adding an event handler should not alter observable behavior Raymond Chen Don't punish people for looking.
Oct 13, 2023 Post comments count0 Post likes count2 On detecting improper use of std::enable_shared_from_this Raymond Chen Playing around with the standard library.
Oct 12, 2023 Post comments count0 Post likes count1 I created an overloaded operator for my C++/WinRT class, but it’s not working Raymond Chen Take a closer look at what you are overloading.
Oct 11, 2023 Post comments count13 Post likes count3 Why does IFileDialog still show non-filesystem folders when I pass FOS_FORCEFILESYSTEM? Raymond Chen Because you need to pass through them to get there.
Oct 9, 2023 Post comments count2 Post likes count2 Is there any performance advantage to marking a page read-only if I had no intention of writing to it anyway? Raymond Chen The CPU already figured it out.
Oct 6, 2023 Post comments count2 Post likes count1 A very belated improvement to the filtering of the Browse for Folder dialog so it shows only drive letters Raymond Chen The case of the very short UNC.
Oct 5, 2023 Post comments count2 Post likes count1 How can I get WideCharToMultiByte to convert strings encoded in UTF-16BE? Raymond Chen You first have to get it into a format the WideCharToMultiByte accepts.
Oct 4, 2023 Post comments count3 Post likes count2 On the confusing names for the Windows service SID types Raymond Chen Too much abbreviation.
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.