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