May 29, 2026 Post comments count0 Post likes count0 Sharing the result of a single Windows Runtime IAsyncOperation among multiple coroutines, part 3 Raymond Chen A variation where we try only once.
May 28, 2026 Post comments count1 Post likes count2 Sharing the result of a single Windows Runtime IAsyncOperation among multiple coroutines, part 2 Raymond Chen Just let each person take turns trying.
May 27, 2026 Post comments count0 Post likes count2 Sharing the result of a single Windows Runtime IAsyncOperation among multiple coroutines, part 1 Raymond Chen Caching the result and knowing when the cache is valid.
May 26, 2026 Post comments count4 Post likes count6 If C# and JavaScript lets me await a Windows Runtime asynchronous operation more than once, why not C++/WinRT? Raymond Chen A difference in philosophy.
May 25, 2026 Post comments count10 Post likes count5 A hypothetical redesign of System.Diagnostics.Process to avoid confusion over properties that are valid only when you are the one who called Start Raymond Chen Putting them in a place that can access only if you call Start.
May 22, 2026 Post comments count3 Post likes count1 Why do you say that a COM STA thread must pump messages if I see sample code creating STA threads and not pumping messages? Raymond Chen You need to pump messages when idle, but maybe you are never idle.
May 21, 2026 Post comments count0 Post likes count3 How do I use Win32 structures from the Windows Runtime? Raymond Chen Trick question: You can't. But maybe you can fake it.
May 20, 2026 Post comments count1 Post likes count2 The classic TreeView control lets me sort by name or by lParam, but why not both? Raymond Chen You need to arrange to get one from the other.
May 15, 2026 Post comments count2 Post likes count2 The case of the CreateFileMapping that always reported ERROR_ALREADY_EXISTS Raymond Chen Maybe because it already exists?
May 14, 2026 Post comments count5 Post likes count3 A constant-space linear-time algorithm for deleting all but the 10 most recent files in a directory Raymond Chen Using data structures you already knew.