Feb 14, 2022 Post comments count3 Post likes count0 COM asynchronous interfaces, part 1: The basic pattern Raymond Chen Letting things run on their own, and then coming back for the answer later.
Feb 11, 2022 Post comments count0 Post likes count0 Notes on COM aggregation: How do you implement tear-offs in an aggregated object? Raymond Chen Keeping the controlling unknown in the know.
Feb 10, 2022 Post comments count10 Post likes count0 Notes on COM aggregation: Obtaining a pointer to your aggregated partner without introducing a reference cycle Raymond Chen Putting your thumb on the scale.
Feb 9, 2022 Post comments count17 Post likes count0 How can I find out which processor architectures are supported via emulation by the current system? Raymond Chen Fortunately, there's a special function for that, or at least for enough of that to serve your needs.
Feb 8, 2022 Post comments count3 Post likes count3 The cats sitting on a fence in early builds of Windows 8 Raymond Chen Something to look at when all is lost.
Feb 7, 2022 Post comments count11 Post likes count0 On finding the average of two unsigned integers without overflow Raymond Chen Another code golfing adventure.
Feb 4, 2022 Post comments count3 Post likes count0 The case of the stack overflow exception when the stack is nowhere near overflowing Raymond Chen There's a problem with the stack that prevents it from growing, so you could consider than an overflow.
Feb 3, 2022 Post comments count10 Post likes count2 A closer look at the stack guard page Raymond Chen It is there to detect stack growth, but only if the stack grows into it.
Feb 2, 2022 Post comments count1 Post likes count0 Gotcha: C++/WinRT weak_ref.get() doesn’t get the weak reference; it gets the strong reference Raymond Chen What traditionally goes by the name lock().
Feb 1, 2022 Post comments count7 Post likes count0 How do I customize the color of the Windows blue screen? Raymond Chen It's hard-coded now, sorry.