The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
The overly complicated rules for American football
Attempting to close a loophole creates another loophole.
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?
Of course not. That's why it's called "overlapped."
How do I prevent a child process from displaying the Windows Error Reporting dialog?
Take advantage of the fact that SetErrorMode is inherited.
Localization gotcha: The RTL question mark
Depends on the locale.
What happened to the ability to use … (three dots) to refer to the grandparent directory?
An old NetWare compatibility hack.
A brief tour of the console alias functions
Kicking the tires.
Does the thread pool have different handle access privileges? Why am I getting ERROR_INVALID_HANDLE?
The most common reason for getting ERROR_INVALID_HANDLE is that you have an invalid handle.
Why is getting the HP_HASHSIZE so weird?
Second-order logic.
Why does CryptDestroyHash crash, but only sometimes?
Improper destruction leads to undefined behavior, and undefined behavior includes "crashing only sometimes".