Does the thread pool have different handle access privileges? Why am I getting ERROR_INVALID_HANDLE? January 29, 2016 Jan 29, 2016 01/29/16 Raymond Chen The most common reason for getting ERROR_INVALID_HANDLE is that you have an invalid handle.
Why is getting the HP_HASHSIZE so weird? January 28, 2016 Jan 28, 2016 01/28/16 Raymond Chen Second-order logic.
Why does CryptDestroyHash crash, but only sometimes? January 27, 2016 Jan 27, 2016 01/27/16 Raymond Chen Improper destruction leads to undefined behavior, and undefined behavior includes "crashing only sometimes".
Some senior executives are afraid to provide feedback, because they know that their feedback will be given too much weight January 26, 2016 Jan 26, 2016 01/26/16 Raymond Chen Excess baggage.
How can I tell whether my console program was launched from Explorer or from a command prompt? January 25, 2016 Jan 25, 2016 01/25/16 Raymond Chen That's not actually what you want to know.
If I’m going to store a SID in a file, should I store the string form or the binary form? January 22, 2016 Jan 22, 2016 01/22/16 Raymond Chen Pros and cons.
What does the /V (verify) flag to XCOPY mean, and how did it get that way? January 21, 2016 Jan 21, 2016 01/21/16 Raymond Chen It doesn't mean much any more.
So how bad is it that I’m calling RegOpenKey instead of RegOpenKeyEx? January 20, 2016 Jan 20, 2016 01/20/16 Raymond Chen Mostly not bad, except for the gotcha.
What makes XCOPY so X? January 19, 2016 Jan 19, 2016 01/19/16 Raymond Chen It's extra awesome. But I don't know what the X stands for.
Some notes about the blog migration January 18, 2016 Jan 18, 2016 01/18/16 Raymond Chen Put your feedback here.