The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Oct 13, 2023
Post comments count 0
Post likes count 2

On detecting improper use of std::enable_shared_from_this

Raymond Chen

Playing around with the standard library.

Oct 12, 2023
Post comments count 0
Post likes count 1

I created an overloaded operator for my C++/WinRT class, but it’s not working

Raymond Chen

Take a closer look at what you are overloading.

Oct 11, 2023
Post comments count 13
Post likes count 3

Why does IFileDialog still show non-filesystem folders when I pass FOS_FORCE­FILE­SYSTEM?

Raymond Chen

Because you need to pass through them to get there.

Oct 10, 2023
Post comments count 5
Post likes count 2

It rather required being on the other side of this airtight hatchway: Knowing the domain administrator password

Raymond Chen

If you give away the password, well, that's sort of on you.

Oct 9, 2023
Post comments count 2
Post likes count 2

Is there any performance advantage to marking a page read-only if I had no intention of writing to it anyway?

Raymond Chen

The CPU already figured it out.

Oct 6, 2023
Post comments count 2
Post likes count 1

A very belated improvement to the filtering of the Browse for Folder dialog so it shows only drive letters

Raymond Chen

The case of the very short UNC.

Oct 5, 2023
Post comments count 2
Post likes count 1

How can I get WideCharToMultiByte to convert strings encoded in UTF-16BE?

Raymond Chen

You first have to get it into a format the WideCharToMultiByte accepts.

Oct 4, 2023
Post comments count 3
Post likes count 2

On the confusing names for the Windows service SID types

Raymond Chen

Too much abbreviation.

Oct 3, 2023
Post comments count 1
Post likes count 6

A complaint about Links the Cat, the Office assistant

Raymond Chen

Do all cats do that?