The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Feb 5, 2016
The overly complicated rules for American football
Attempting to close a loophole creates another loophole.
0
0
Feb 5, 2016
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."
0
0
Feb 4, 2016
How do I prevent a child process from displaying the Windows Error Reporting dialog?
Take advantage of the fact that SetErrorMode is inherited.
0
0
Feb 2, 2016
What happened to the ability to use … (three dots) to refer to the grandparent directory?
An old NetWare compatibility hack.
0
1
Jan 29, 2016
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.
0
0
Jan 27, 2016
Why does CryptDestroyHash crash, but only sometimes?
Improper destruction leads to undefined behavior, and undefined behavior includes "crashing only sometimes".
0
0