Oct 27, 2023 Post comments count1 Post likes count2 How to support a COM interface conditionally in WRL Raymond Chen Customizing the QueryInterface and GetIids methods.
Oct 26, 2023 Post comments count0 Post likes count3 How to support a COM interface conditionally in C++/WinRT Raymond Chen Prevent winrt::implements from responding to it or reporting it.
Oct 25, 2023 Post comments count5 Post likes count6 The format of icon resources, revisited Raymond Chen Filling in some gaps.
Oct 23, 2023 Post comments count2 Post likes count4 How do I add a non-copyable, non-movable object to a std::map or std::unordered_map? Raymond Chen Fancy emplacement.
Oct 19, 2023 Post comments count3 Post likes count2 What’s the difference between setting a page’s protection to PAGE_NOACCESS and freeing it? Raymond Chen Nobody can access it, but it's still there.
Oct 18, 2023 Post comments count3 Post likes count3 How can I check if I’m on a DispatcherQueue’s thread if I can’t call HasThreadAccess? Raymond Chen Looking at the tools you have available.
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.