Jan 23, 2024 Post comments count1 Post likes count2 The useless IMemoryBufferReference.Closed event Raymond Chen It tells you that you have already lost.
Jan 22, 2024 Post comments count0 Post likes count3 Accessing a block of memory represented by a Windows Runtime IMemoryBuffer Raymond Chen Through the currency known as an IMemoryBufferReference.
Jan 19, 2024 Post comments count2 Post likes count1 The case of the fail-fast trying to log a caught exception Raymond Chen What is being thrown and why can't we log it?
Jan 18, 2024 Post comments count0 Post likes count2 Implementing two-phase initialization with ATL Raymond Chen ATL looks like it supports two-phase initialization, but it doesn't.
Jan 17, 2024 Post comments count1 Post likes count2 Getting a strong reference from the this pointer too soon Raymond Chen Giving out strong references to an object before you can guarantee that it will work.
Jan 16, 2024 Post comments count4 Post likes count9 What is a hard error, and what makes it harder than an easy error? Raymond Chen A throwback to the early days of 16-bit Windows.
Jan 15, 2024 Post comments count5 Post likes count2 C++/WinRT gotcha: Not all exceptions derive from hresult_error Raymond Chen There are also C++ standard exceptions, particularly std::bad_alloc.
Jan 12, 2024 Post comments count1 Post likes count2 In C++/WinRT, how can I await multiple coroutines and capture the results?, part 3 Raymond Chen Dealing with awaitables that return void, and questioning our life choices.
Jan 11, 2024 Post comments count0 Post likes count3 In C++/WinRT, how can I await multiple coroutines and capture the results?, part 2 Raymond Chen Wrapping the results and returning them in a tuple.
Jan 10, 2024 Post comments count0 Post likes count2 In C++/WinRT, how can I await multiple coroutines and capture the results?, part 1 Raymond Chen Using a custom awaiter to suppress the GetResults().