Jun 14, 2019 4 0 Why does SetFocus fail without telling me why? Raymond Chen If you're going to replace part of the operating system, you have to replace the side effects, too.
Jun 13, 2019 3 0 What should you do if somebody passes a null pointer for a parameter that should never be null? What if it’s a Windows Runtime class? Raymond Chen They messed up, so make them suffer the consequences, but make the consequences diagnosable.
Jun 12, 2019 11 0 If you can use GUIDs to reference files, why not use them to remember “recently used” files so they can survive renames and moves? Raymond Chen Because the file that you think is the same file may not actually be the same file.
Jun 11, 2019 7 0 What order do the items in the “New” menu appear? It looks kind of random. Raymond Chen It's alphabetical order, but not in the obvious way.
Jun 10, 2019 3 0 How can I determine in a C++ header file whether C++/CX is enabled? How about C++/WinRT? Raymond Chen For conditionally enabling features, say.
Jun 7, 2019 10 0 The Resource Compiler defaults to CP_ACP, even in the face of subtle hints that the file is UTF-8 Raymond Chen Subtlety is not its strong point.
Jun 6, 2019 0 Why does my C++/WinRT project get errors of the form "Unresolved external symbol void* __cdecl winrt_make_YourNamespace_YourClass(void)"? Raymond Chen You enabled optimizations, but there's some extra bookkeeping to support those optimizations.
Jun 5, 2019 1 0 Why does my C++/WinRT project get errors of the form ‘winrt::impl::produce<D, I>‘: cannot instantiate abstract class, missing method GetBindingConnector Raymond Chen The header file requirement was always present, but you often got away with omitting it. Not so much any more.
Jun 4, 2019 8 0 In the file copy conflict dialog, what happened to the option to copy the new file with a numeric suffix? Raymond Chen It's still there, but you have to dig a little deeper for it.
Jun 3, 2019 7 1 A bug so cool that the development team was reluctant to fix it Raymond Chen A nice parlor trick, if you had the memory for it.