The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
The fine print giveth and the bold print taketh away: The countdown timer
Think fast, no pressure.
Learning to read C++ compiler errors: Ambiguous overloaded operator
Look for the conflicting definitions to see where they are coming from.
When ReadDirectoryChangesW reports that a deletion occurred, how can I learn more about the deleted thing?
It's already gone. If you need more information, you should have been remembering it.
The mystery of the posted message that was dispatched before reaching the main message loop
Perhaps it's because you dispatched it.
Aha, I found a counterexample to the documentation that says that QueryPerformanceCounter never fails
Of course, anything can happen if you break the rules.
Just for fun: A survey of write protect notches on floppy disks and other media
Just some useless trivia.
What sort of horrible things happen if my dialog has a non-button with the control ID of IDCANCEL?
You get notifications that might not make sense.
Intercepting messages inside IsDialogMessage, fine-tuning the message filter
Making sure it triggers when you need it, and not when you don't.
Intercepting messages inside IsDialogMessage, installing the message filter
Using an <CODE>IsDialogMessage</CODE> extension point.