Jan 28, 2016 Post comments count0 Post likes count0 Why is getting the HP_HASHSIZE so weird? Raymond Chen Second-order logic.
Jan 27, 2016 Post comments count0 Post likes count0 Why does CryptDestroyHash crash, but only sometimes? Raymond Chen Improper destruction leads to undefined behavior, and undefined behavior includes "crashing only sometimes".
Jan 25, 2016 Post comments count0 Post likes count1 How can I tell whether my console program was launched from Explorer or from a command prompt? Raymond Chen That's not actually what you want to know.
Jan 22, 2016 Post comments count0 Post likes count0 If I’m going to store a SID in a file, should I store the string form or the binary form? Raymond Chen Pros and cons.
Jan 21, 2016 Post comments count0 Post likes count0 What does the /V (verify) flag to XCOPY mean, and how did it get that way? Raymond Chen It doesn't mean much any more.
Jan 20, 2016 Post comments count0 Post likes count0 So how bad is it that I’m calling RegOpenKey instead of RegOpenKeyEx? Raymond Chen Mostly not bad, except for the gotcha.
Jan 18, 2016 Post comments count0 Post likes count0 A puzzle involving dynamic programming, or maybe it doesn’t, episode 2 Raymond Chen Once again, the hint is wrong.
Jan 15, 2016 Post comments count0 Post likes count0 What does this crash in TppRaiseHandleStatus mean? Raymond Chen Imagining how a feature was written.
Jan 13, 2016 Post comments count0 Post likes count0 My program for faking debugging demos Raymond Chen Looking behind the curtain.
Jan 11, 2016 Post comments count0 Post likes count0 Creating a shell extension that applies only to files with a very specific name Raymond Chen The AppliesTo tag.