Why is there a large gap between some of the Windows system metrics indices? April 10, 2023 Apr 10, 2023 04/10/23 Raymond Chen An artifact of the internal implementation.
The case of the PasswordVault.Add call that the customer thinks was hung April 7, 2023 Apr 7, 2023 04/7/23 Raymond Chen But was it really hung? Or did it just look that way.
An ignored exception can be misinterpreted as a hang, particularly in coroutines April 6, 2023 Apr 6, 2023 04/6/23 Raymond Chen I mean, execution seems to have stopped.
How do I modify the contents of a boxed Windows Runtime value? April 5, 2023 Apr 5, 2023 04/5/23 Raymond Chen Once it's in the box, you can't change it.
What is the maximum size of a process environment block? April 4, 2023 Apr 4, 2023 04/4/23 Raymond Chen There's no hard-coded limit in Windows, but maybe somebody else has a limit.
C++17 creates a practical use of the backward array index operator April 3, 2023 Apr 3, 2023 04/3/23 Raymond Chen Possibly more than just a curiosity.
What is this [uuid(…)] in front of my C++ class declaration? March 31, 2023 Mar 31, 2023 03/31/23 Raymond Chen It's an old nonstandard syntax that you should try to move away from.
If you want to watch games on your tractor, please use your own iPad March 30, 2023 Mar 30, 2023 03/30/23 Raymond Chen Not an approved use of the embedded system.
How can I box a std::optional into a C++/WinRT IInspectable? March 30, 2023 Mar 30, 2023 03/30/23 Raymond Chen There's a handy conversion for that, but you have to know where to look.
The WM_GETDLGCODE message is a query message and should not modify state March 29, 2023 Mar 29, 2023 03/29/23 Raymond Chen Wait until you actually get the message.