The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts

Apr 17, 2025
Post comments count
1
Post likes count
0
The case of the feature flag that didn’t stay on long enough, part 1

Understanding scope and order of destruction.

Apr 16, 2025
Post comments count
0
Post likes count
1
Using the classical model for linking to provide unit test overrides

Overriding a LIB with an OBJ for fun and profit.

Apr 15, 2025
Post comments count
14
Post likes count
0
There was a lot of imagined dropping tablets in swimming pools

The archetypical example of needing a replacement computer.

Apr 14, 2025
Post comments count
5
Post likes count
0
Dubious security vulnerability: Once I have tricked the user into running a malicious shortcut, I can install malware

Yes, that's sort of the point.

Apr 11, 2025
Post comments count
6
Post likes count
5
The case of the UI thread that hung in a kernel call

I did tell you not to do that.

Apr 10, 2025
Post comments count
0
Post likes count
1
Function overloading is more flexible (and more convenient) than template function specialization

You can change more things in an overload.

Apr 9, 2025
Post comments count
5
Post likes count
0
Why can’t I use SEC_LARGE_PAGES
with a file-based file mapping?

No paging, no crying.

Apr 8, 2025
Post comments count
9
Post likes count
1
The Goldilocks zone of software stability

Not too new, not too old.

Apr 7, 2025
Post comments count
4
Post likes count
2
On priority inversion in the use of a spinlock to ensure atomic access to a shared_ptr

Priority inversion may be rare, but correctness doesn't care about rarity.