If you have to create a Windows Runtime Vector from C++/WinRT, do it as late as possible May 22, 2024 May 22, 2024 05/22/24 Raymond Chen Stay with the std::vector until you really need the Window Runtime Vector.
A blurry photo of the legendary USB Cart of Death May 21, 2024 May 21, 2024 05/21/24 Raymond Chen And some details about that infamous on-stage bluescreen.
If you know what interface you want, just pass it directly to CoCreateInstance May 20, 2024 May 20, 2024 05/20/24 Raymond Chen Avoiding a second round trip.
Why can’t I find the injected name of a templated class’s templated base class? May 17, 2024 May 17, 2024 05/17/24 Raymond Chen The compiler needs help finding it because it's not findable at the time the template is parsed.
Pulling a single item from a C++ parameter pack by its index May 16, 2024 May 16, 2024 05/16/24 Raymond Chen Combining a few tools to make a new tool.
Building the most efficient device selector query that selects no devices May 15, 2024 May 15, 2024 05/15/24 Raymond Chen Looking for the most efficient way of rejecting everything.
The confidential coffee maker was not the only source of shenanigans at the IBM Boca office May 14, 2024 May 14, 2024 05/14/24 Raymond Chen The culture (and weather) clash continues.
Before you try to change something, make sure you can change nothing May 13, 2024 May 13, 2024 05/13/24 Raymond Chen Nobody touch anything.
An informal comparison of the three major implementations of std::string May 10, 2024 May 10, 2024 05/10/24 Raymond Chen Pros and cons.
Asking for a DispatcherQueue from a GUI thread you created May 9, 2024 May 9, 2024 05/9/24 Raymond Chen Grafting a DispatcherQueue onto an existing thread.