The perils of the accidental C++ conversion constructor January 15, 2021 Jan 15, 2021 01/15/21 Raymond Chen Single-parameter constructors are also conversions.
How can I write a C++ class that iterates over its base classes? January 14, 2021 Jan 14, 2021 01/14/21 Raymond Chen Variadic templates to the rescue.
The misleading MIDL error message: MIDL5023: The arguments to the parameterized interface are not valid January 13, 2021 Jan 13, 2021 01/13/21 Raymond Chen They aren't valid, but then again, nothing would have been.
Why am I receiving SHCNE_UPDATEDIR notifications that my code never generates? January 12, 2021 Jan 12, 2021 01/12/21 Raymond Chen You did generate them, indirectly.
How did I find the old Windows binaries and compilers for the processor retrospective series? January 11, 2021 Jan 11, 2021 01/11/21 Raymond Chen Going through old virtual boxes of stuff.
The case of the crash during the release of an object from an unloaded DLL during apartment rundown January 8, 2021 Jan 8, 2021 01/8/21 Raymond Chen The great escape from the confines of the custom COM context.
What happens if I give contradictory values for the stack commit and stack reserve? January 7, 2021 Jan 7, 2021 01/7/21 Raymond Chen The system will try to massage the values into something less unreasonable.
How can I tell whether my process is running as SYSTEM? January 6, 2021 Jan 6, 2021 01/6/21 Raymond Chen Check your token.
Additional helpful pseudo-handles: The process token, the thread token, and the effective token January 5, 2021 Jan 5, 2021 01/5/21 Raymond Chen For quick queries.
How can I write a program that monitors another window for a change in size or position? January 4, 2021 Jan 4, 2021 01/4/21 Raymond Chen Accessibility hooks come to the rescue once again.