The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Apr 14, 2025
Post comments count 6
Post likes count 2

Dubious security vulnerability: Once I have tricked the user into running a malicious shortcut, I can install malware

Raymond Chen

Yes, that's sort of the point.

Apr 11, 2025
Post comments count 12
Post likes count 5

The case of the UI thread that hung in a kernel call

Raymond Chen

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

Raymond Chen

You can change more things in an overload.

Apr 9, 2025
Post comments count 5
Post likes count 1

Why can’t I use SEC_LARGE_PAGES with a file-based file mapping?

Raymond Chen

No paging, no crying.

Apr 8, 2025
Post comments count 10
Post likes count 2

The Goldilocks zone of software stability

Raymond Chen

Not too new, not too old.

Apr 7, 2025
Post comments count 4
Post likes count 3

On priority inversion in the use of a spinlock to ensure atomic access to a shared_ptr

Raymond Chen

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

Apr 4, 2025
Post comments count 5
Post likes count 2

Adding delays to our task sequencer, part 3

Raymond Chen

Waiting more cheaply.

Apr 3, 2025
Post comments count 0
Post likes count 2

Adding delays to our task sequencer, part 2

Raymond Chen

Waiting the right amount of time.

Apr 2, 2025
Post comments count 0
Post likes count 2

Adding delays to our task sequencer, part 1

Raymond Chen

Not so fast there.