Mar 13, 2026 Post comments count4 Post likes count3 Windows stack limit checking retrospective: MIPS Raymond Chen Optimizing out the unnecessary probes comes with its own complexity.
Mar 12, 2026 Post comments count9 Post likes count3 Windows stack limit checking retrospective: x86-32, also known as i386 Raymond Chen One of the weirdest calling conventions you'll see.
Mar 11, 2026 Post comments count6 Post likes count6 How do compilers ensure that large stack allocations do not skip over the guard page? Raymond Chen Don't take steps that are too large.
Mar 9, 2026 Post comments count2 Post likes count2 Learning to read C++ compiler errors: Ambiguous overloaded operator Raymond Chen Look for the conflicting definitions to see where they are coming from.
Mar 6, 2026 Post comments count11 Post likes count2 When ReadDirectoryChangesW reports that a deletion occurred, how can I learn more about the deleted thing? Raymond Chen It's already gone. If you need more information, you should have been remembering it.
Mar 5, 2026 Post comments count2 Post likes count2 The mystery of the posted message that was dispatched before reaching the main message loop Raymond Chen Perhaps it's because you dispatched it.
Mar 4, 2026 Post comments count6 Post likes count2 Aha, I found a counterexample to the documentation that says that QueryPerformanceCounter never fails Raymond Chen Of course, anything can happen if you break the rules.
Mar 2, 2026 Post comments count3 Post likes count1 What sort of horrible things happen if my dialog has a non-button with the control ID of IDCANCEL? Raymond Chen You get notifications that might not make sense.
Feb 27, 2026 Post comments count3 Post likes count2 Intercepting messages inside IsDialogMessage, fine-tuning the message filter Raymond Chen Making sure it triggers when you need it, and not when you don't.
Feb 26, 2026 Post comments count1 Post likes count2 Intercepting messages inside IsDialogMessage, installing the message filter Raymond Chen Using an IsDialogMessage extension point.