Feb 8, 2016 Post comments count0 Post likes count1 How can I get the canonical name for a known folder? Raymond Chen You ask it.
Feb 5, 2016 Post comments count0 Post likes count1 If I issue a second overlapped I/O operation without waiting for the first one to complete, are they still guaranteed to complete in order? Raymond Chen Of course not. That's why it's called "overlapped."
Feb 4, 2016 Post comments count0 Post likes count1 How do I prevent a child process from displaying the Windows Error Reporting dialog? Raymond Chen Take advantage of the fact that SetErrorMode is inherited.
Feb 1, 2016 Post comments count0 Post likes count1 A brief tour of the console alias functions Raymond Chen Kicking the tires.
Jan 29, 2016 Post comments count0 Post likes count1 Does the thread pool have different handle access privileges? Why am I getting ERROR_INVALID_HANDLE? Raymond Chen The most common reason for getting ERROR_INVALID_HANDLE is that you have an invalid handle.
Jan 28, 2016 Post comments count0 Post likes count1 Why is getting the HP_HASHSIZE so weird? Raymond Chen Second-order logic.
Jan 27, 2016 Post comments count0 Post likes count1 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 count2 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 count1 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 count1 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.