Latest posts
- Sharing the result of a single Windows Runtime IAsyncOperation among multiple coroutines, part 3May 29, 2026Raymond Chen
A variation where we try only once. The post Sharing the result of a single Windows Runtime IAsyncOperation among multiple coroutines, part 3 appeared first on The Old New Thing.
- Sharing the result of a single Windows Runtime IAsyncOperation among multiple coroutines, part 2May 28, 2026Raymond Chen
Just let each person take turns trying. The post Sharing the result of a single Windows Runtime IAsyncOperation among multiple coroutines, part 2 appeared first on The Old New Thing.
- Sharing the result of a single Windows Runtime IAsyncOperation among multiple coroutines, part 1May 27, 2026Raymond Chen
Caching the result and knowing when the cache is valid. The post Sharing the result of a single Windows Runtime IAsyncOperation among multiple coroutines, part 1 appeared first on The Old New Thing.
- If C# and JavaScript lets me await a Windows Runtime asynchronous operation more than once, why not C++/WinRT?May 26, 2026Raymond Chen
A difference in philosophy. The post If C# and JavaScript lets me await a Windows Runtime asynchronous operation more than once, why not C++/WinRT? appeared first on The Old New Thing.
- A hypothetical redesign of System.Diagnostics.Process to avoid confusion over properties that are valid only when you are the one who called StartMay 25, 2026Raymond Chen
Putting them in a place that can access only if you call Start. The post A hypothetical redesign of <CODE>System.<WBR>Diagnostics.<WBR>Process</CODE> to avoid confusion over properties that are valid only when you are the one who called <CODE>Start</CODE> appeared first on The Old New Thing.
- Why do you say that a COM STA thread must pump messages if I see sample code creating STA threads and not pumping messages?May 22, 2026Raymond Chen
You need to pump messages when idle, but maybe you are never idle. The post Why do you say that a COM STA thread must pump messages if I see sample code creating STA threads and not pumping messages? appeared first on The Old New Thing.
- How do I use Win32 structures from the Windows Runtime?May 21, 2026Raymond Chen
Trick question: You can't. But maybe you can fake it. The post How do I use Win32 structures from the Windows Runtime? appeared first on The Old New Thing.
- The classic TreeView control lets me sort by name or by lParam, but why not both?May 20, 2026Raymond Chen
You need to arrange to get one from the other. The post The classic TreeView control lets me sort by name or by lParam, but why not both? appeared first on The Old New Thing.
- What is the history of the ERROR_ARENA_TRASHED error code?May 19, 2026Raymond Chen
The storage control blocks were destroyed. The post What is the history of the <CODE>ERROR_<WBR>ARENA_<WBR>TRASHED</CODE> error code? appeared first on The Old New Thing.
- Just shows that nobody cares about debugging the parity flag any moreMay 18, 2026Raymond Chen
Reported incorrectly since the day it was written. The post Just shows that nobody cares about debugging the parity flag any more appeared first on The Old New Thing.