The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Mar 11, 2026
Post comments count
1
Post likes count
1
How do compilers ensure that large stack allocations do not skip over the guard page?
Don't take steps that are too large.
Mar 10, 2026
Post comments count
3
Post likes count
3
A snappy answer when asked about dressing casually at IBM
Oh, this old thing?
Mar 9, 2026
Post comments count
8
Post likes count
1
The fine print giveth and the bold print taketh away: The countdown timer
Think fast, no pressure.
Mar 9, 2026
Post comments count
1
Post likes count
1
Learning to read C++ compiler errors: Ambiguous overloaded operator
Look for the conflicting definitions to see where they are coming from.
Mar 6, 2026
Post comments count
7
Post likes count
2
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.
Mar 5, 2026
Post comments count
2
Post likes count
2
The mystery of the posted message that was dispatched before reaching the main message loop
Perhaps it's because you dispatched it.
Mar 4, 2026
Post comments count
6
Post likes count
2
Aha, I found a counterexample to the documentation that says that QueryPerformanceCounter never fails
Of course, anything can happen if you break the rules.
Mar 3, 2026
Post comments count
17
Post likes count
2
Just for fun: A survey of write protect notches on floppy disks and other media
Just some useless trivia.
Mar 2, 2026
Post comments count
3
Post likes count
1
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.