Jan 4, 2023 Post comments count11 Post likes count3 Using perfect (and imperfect) forwarding to simplify C++ wrapper classes Raymond Chen Just call that other thing the same way you called this thing.
Jan 2, 2023 Post comments count8 Post likes count3 Opinionated notes on the Windows.Data.Json namespace Raymond Chen It's available if you need it, but there are some tricks and pitfalls, and you may very well have better options.
Dec 30, 2022 Post comments count3 Post likes count1 When I create a waitable timer with a callback, do I have to wait alertably on that specific timer before the callback will run? Raymond Chen Any alertable wait will do.
Dec 29, 2022 Post comments count2 Post likes count2 How can I detect programmatically whether Windows is an N or KN version? Raymond Chen Don't check the version, just check the feature.
Dec 28, 2022 Post comments count3 Post likes count2 After importing a TLB, how do I convert from one type of _com_ptr_t to another? Raymond Chen Digging into the source code.
Dec 23, 2022 Post comments count4 Post likes count2 The case of the recursively hung WM_DRAWCLIPBOARD message Raymond Chen Understanding why it's happening and how you can avoid it.
Dec 22, 2022 Post comments count7 Post likes count3 Is there a fixed virtual address that the system promises never to use for anything, so I can use it? Raymond Chen Everything is up for grabs.
Dec 21, 2022 Post comments count3 Post likes count2 Running some UI code on a timer at a higher priority than your usual timer messages, or without coalescing Raymond Chen You can build your own timer system.
Dec 15, 2022 Post comments count1 Post likes count1 Inside C++/WinRT: IReference<T> Raymond Chen Reverse-engineering the usages from the code.
Dec 14, 2022 Post comments count0 Post likes count1 In C++/WinRT, how do I create or consume an IReference<T> that wraps a particular value? Raymond Chen Conversions to and from IReference.