The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Thoughts on creating a tracking pointer class, part 6: Non-modifying trackers
Aug 18, 2025
Post comments count 0
Post likes count 0

Thoughts on creating a tracking pointer class, part 6: Non-modifying trackers

Raymond Chen
Raymond Chen

Making tracking pointers to objects that you can't modify.

Thoughts on creating a tracking pointer class, part 5: Copying our tracking pointer
Aug 15, 2025
Post comments count 2
Post likes count 2

Thoughts on creating a tracking pointer class, part 5: Copying our tracking pointer

Raymond Chen
Raymond Chen

How to copy from a const tracking pointer.

Thoughts on creating a tracking pointer class, part 4: Using a circular doubly linked list
Aug 14, 2025
Post comments count 0
Post likes count 2

Thoughts on creating a tracking pointer class, part 4: Using a circular doubly linked list

Raymond Chen
Raymond Chen

Building our own circular doubly-linked list.

Thoughts on creating a tracking pointer class, part 3: Using a <CODE>std::vector</CODE>
Aug 13, 2025
Post comments count 0
Post likes count 2

Thoughts on creating a tracking pointer class, part 3: Using a std::vector

Raymond Chen
Raymond Chen

Tracking your trackers with a vector.

Thoughts on creating a tracking pointer class, part 2: Using a <CODE>std::list</CODE>
Aug 12, 2025
Post comments count 2
Post likes count 1

Thoughts on creating a tracking pointer class, part 2: Using a std::list

Raymond Chen
Raymond Chen

Tracking your trackers with a std::list.

Thoughts on creating a tracking pointer class, part 1: Concept art
Aug 11, 2025
Post comments count 1
Post likes count 2

Thoughts on creating a tracking pointer class, part 1: Concept art

Raymond Chen
Raymond Chen

Following an object as it moves.

Under what conditions could a <CODE>Read­File</CODE> or <CODE>Write­File</CODE> fail to transfer all of the bytes, and how do I detect that?
Aug 8, 2025
Post comments count 6
Post likes count 3

Under what conditions could a Read­File or Write­File fail to transfer all of the bytes, and how do I detect that?

Raymond Chen
Raymond Chen

If there is not enough data to read, or not room to write.

How can I detect that Windows is running in S-Mode?
Aug 7, 2025
Post comments count 11
Post likes count 2

How can I detect that Windows is running in S-Mode?

Raymond Chen
Raymond Chen

Check the code integrity policy.

How do I disable pieces of the property sheet for a service in the Services MMC snap-in?
Aug 6, 2025
Post comments count 9
Post likes count 4

How do I disable pieces of the property sheet for a service in the Services MMC snap-in?

Raymond Chen
Raymond Chen

There's no secret setting. It's all based on access control.