How do I disassociate a thread from an I/O completion port? Raymond ChenJanuary 20, 2021Jan 20, 202101/20/21 Escaping the trap.
How can I prevent another program from showing a thumbnail preview in the taskbar? Raymond ChenJanuary 18, 2021Jan 18, 202101/18/21 You can't, really. It's not your window.
The perils of the accidental C++ conversion constructor Raymond ChenJanuary 15, 2021Jan 15, 202101/15/21 Single-parameter constructors are also conversions.
How can I write a C++ class that iterates over its base classes? Raymond ChenJanuary 14, 2021Jan 14, 202101/14/21 Variadic templates to the rescue.
The misleading MIDL error message: MIDL5023: The arguments to the parameterized interface are not valid Raymond ChenJanuary 13, 2021Jan 13, 202101/13/21 They aren't valid, but then again, nothing would have been.
Why am I receiving SHCNE_UPDATEDIR notifications that my code never generates? Raymond ChenJanuary 12, 2021Jan 12, 202101/12/21 You did generate them, indirectly.
The case of the crash during the release of an object from an unloaded DLL during apartment rundown Raymond ChenJanuary 8, 2021Jan 8, 202101/8/21 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? Raymond ChenJanuary 7, 2021Jan 7, 202101/7/21 The system will try to massage the values into something less unreasonable.
How can I tell whether my process is running as SYSTEM? Raymond ChenJanuary 6, 2021Jan 6, 202101/6/21 Check your token.
Additional helpful pseudo-handles: The process token, the thread token, and the effective token Raymond ChenJanuary 5, 2021Jan 5, 202101/5/21 For quick queries.