The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Oct 23, 2025
Post comments count
1
Post likes count
2
Windows Runtime design principle: Properties can be set in any order
If all you're doing is setting properties, you can do it any way you like.
Oct 22, 2025
Post comments count
4
Post likes count
1
What makes cheap_steady_clock faster than std::chrono::high_resolution_clock ?
It's quite a bit faster, though maybe you don't care.
Oct 21, 2025
Post comments count
1
Post likes count
2
Microspeak: The hockey stick on wheels
You're always a year away.
Oct 20, 2025
Post comments count
13
Post likes count
4
What about the icons in pifmgr.dll?
Just for fun.
Oct 17, 2025
Post comments count
0
Post likes count
2
Using RAII to remedy a defect where not all code paths performed required exit actions, follow-up
If the callback requires copyability.
Oct 16, 2025
Post comments count
9
Post likes count
4
Using RAII to remedy a defect where not all code paths performed required exit actions
Passing the obligation onward.
Oct 15, 2025
Post comments count
9
Post likes count
4
Why can you increment a reference count with relaxed semantics, but you have to decrement with release semantics?
It's more important to clean up when you leave.
Oct 14, 2025
Post comments count
12
Post likes count
6
I remember taking a screen shot of a video, and when I opened it in Paint, the video was playing in it! What witchcraft is this?
You copied the green screen.
Oct 13, 2025
Post comments count
4
Post likes count
3
API design principle: Don’t tempt people to divide by zero
Remove it from the equation.