I called AdjustTokenPrivileges, but I was still told that a necessary privilege was not held May 31, 2019 May 31, 2019 05/31/19 Raymond Chen Which token did you adjust?
Why does my C++/WinRT project get errors of the form “consume_Something: function that returns ‘auto’ cannot be used before it is defined”? May 30, 2019 May 30, 2019 05/30/19 Raymond Chen Narrowing down the source of the missing header file.
Why does my C++/WinRT project get errors of the form “unresolved external symbol … consume_Something”? May 29, 2019 May 29, 2019 05/29/19 Raymond Chen Declared but not defined, but what exactly wasn't defined?
In times of uncertainty, take your cue from the janitor May 28, 2019 May 28, 2019 05/28/19 Raymond Chen He's been there before.
Why does Explorer’s New menu take so long to appear the first time I open it? May 28, 2019 May 28, 2019 05/28/19 Raymond Chen It's trying to figure out what new things it can do.
Programming puzzle: Creating a map of command handlers given only the function pointer May 27, 2019 May 27, 2019 05/27/19 Raymond Chen Creating the magic decoder ring automatically.
Windows Runtime delegates and object lifetime in C++/WinRT May 24, 2019 May 24, 2019 05/24/19 Raymond Chen So many choices.
Windows Runtime delegates and object lifetime in C++/CX May 23, 2019 May 23, 2019 05/23/19 Raymond Chen You specify the lifetime rules, typically weak.
Windows Runtime delegates and object lifetime in C# and other GC languages May 22, 2019 May 22, 2019 05/22/19 Raymond Chen You've left the comfort of the CLR.
The secret signal that tells Windows Runtime events that the event recipient no longer exists May 21, 2019 May 21, 2019 05/21/19 Raymond Chen Watch out that you don't make the signal by mistake.