The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Mar 7, 2019
Post comments count 0
Post likes count 1

What order are pages in a memory-mapped file flushed out to disk?

Raymond Chen

There isn't one.

Mar 6, 2019
Post comments count 0
Post likes count 1

How do I destruct an object that keeps a reference to itself, because that reference prevents the object from being destructed

Raymond Chen

Keep a reference to the right thing.

Mar 5, 2019
Post comments count 0
Post likes count 1

Predator-prey reversal: Rock lobsters vs whelks on Malgas Island and Marcus Island

Raymond Chen

Multiple stable configurations.

Mar 5, 2019
Post comments count 0
Post likes count 1

Alternate definitions for English words, as inferred from bug reports

Raymond Chen

Lost in translation.

Mar 4, 2019
Post comments count 0
Post likes count 1

My initial frustration trying to configure our internal VoIP phones that were integrated with instant messaging

Raymond Chen

A combination of settings that the feature team considered nonsensical.

Mar 1, 2019
Post comments count 0
Post likes count 1

How to compare two packed bitfields without having to unpack each field

Raymond Chen

The magic carry-out vector.

Feb 28, 2019
Post comments count 0
Post likes count 1

How should I report errors from my Windows Runtime API?

Raymond Chen

It depends on what kind of error it is.

Feb 27, 2019
Post comments count 0
Post likes count 1

The std::map subscript operator is a convenience, but a potentially dangerous one

Raymond Chen

It makes code easy to read, but things happen behind the scenes you may not be expecting.

Feb 26, 2019
Post comments count 0
Post likes count 1

How to draw a nifty text box in your email message

Raymond Chen

This one weird trick.