Inside C++/WinRT: Apartment switching: Error reporting January 31, 2023 Jan 31, 2023 01/31/23 Raymond Chen If you can't get back to where you started, who you gonna call?
Inside C++/WinRT: Apartment switching: COM without COM January 30, 2023 Jan 30, 2023 01/30/23 Raymond Chen Also known as Nano-COM.
Inside C++/WinRT: Apartment switching: Unwinding the stack January 27, 2023 Jan 27, 2023 01/27/23 Raymond Chen Reducing stack usage.
Inside C++/WinRT: Apartment switching: Bypassing the context callback January 26, 2023 Jan 26, 2023 01/26/23 Raymond Chen Reducing stack usage.
Inside C++/WinRT: Apartment switching: Unblocking the outgoing thread January 25, 2023 Jan 25, 2023 01/25/23 Raymond Chen Avoiding the problem of the synchronous apartment-changing callback: Let the outgoing thread do whatever it wants to do next.
Inside C++/WinRT: Apartment switching: The basic idea January 24, 2023 Jan 24, 2023 01/24/23 Raymond Chen Getting back to where you started.
Inside C++/WinRT: Coroutine completions: The oversimplified version January 23, 2023 Jan 23, 2023 01/23/23 Raymond Chen Resuming the coroutine when the asynchronous work completes.
How can I call a method on a derived class from a base class, say, to get a strong reference to the containing object? January 20, 2023 Jan 20, 2023 01/20/23 Raymond Chen A variety of patterns are available.
Windows Runtime asynchronous operations can fail in two different ways, so make sure you get them both January 19, 2023 Jan 19, 2023 01/19/23 Raymond Chen Fail me now or fail me later.
It rather involved being on the other side of this airtight hatchway: Attacking a user by modifying that user’s files January 18, 2023 Jan 18, 2023 01/18/23 Raymond Chen You're just attacking yourself.