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

Jun 12, 2025
Post comments count
0
Post likes count
0
Why does Windows even have Interlocked
functions when we have std::atomic
?

Well, you have to start somewhere.

Jun 11, 2025
Post comments count
6
Post likes count
2
Removing the MAX_PATH
restriction on paths applies only to paths

The individual file names still retain their existing limits.

Jun 10, 2025
Post comments count
6
Post likes count
3
Application compatibility for Windows 95 crashed a cash register

Exceeding all reasonable maximums.

Jun 9, 2025
Post comments count
2
Post likes count
1
Dubious security vulnerability: Tricking a program into running non-elevated

You can do anything, but still within the limits of your authority.

Jun 6, 2025
Post comments count
0
Post likes count
2
Why does C++ think my class is copy-constructible when it can’t be copy-constructed?

You said that you had a copy constructor, even though it can't be compiled.

Jun 5, 2025
Post comments count
11
Post likes count
1
Why do some Windows functions fail if I pass an unaligned Unicode string?

Well, if you don't align it, then you've already broken the rules.

Jun 4, 2025
Post comments count
2
Post likes count
1
Riffing on a typo in the name of the opera Turandot

On the dot.

Jun 4, 2025
Post comments count
0
Post likes count
0
How can I programmatically find the network path by which a folder has been shared?

There is no direct query. You'll have to infer it.

Jun 3, 2025
Post comments count
8
Post likes count
4
The symbolism of the magnifying glass is not universal

Just making things bigger?