The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Jun 12, 2024
Post comments count
6
Post likes count
1
Lock-free reference-counting a TLS slot using atomics, part 1
First, we do it with locks.
Jun 11, 2024
Post comments count
19
Post likes count
8
The origin story of the Windows 3D Pipes screen saver
Looking for a place to show off.
Jun 10, 2024
Post comments count
15
Post likes count
1
How do I get the name of a SID, and what does it mean when the conversion fails?
Most places will do it for you, or at least try.
Jun 7, 2024
Post comments count
4
Post likes count
2
What’s the deal with std::type_identity?
When you want to use a type without participating in type deduction.
Jun 6, 2024
Post comments count
8
Post likes count
3
Can INI files be Unicode? Yes, they can, but it has to be your idea
It'll only be Unicode if it's already Unicode.
Jun 5, 2024
Post comments count
0
Post likes count
3
How 16-bit Windows cached INI files for performance
Taking advantage of co-operative multitasking.
Jun 4, 2024
Post comments count
3
Post likes count
1
Why does GlobalLock max out at 255 locks?
Because that's how many bits were available for reporting the lock count.
Jun 3, 2024
Post comments count
9
Post likes count
1
More on harmful overuse of std::move
Could we expand copy elision to cover the harmful cases?
May 31, 2024
Post comments count
4
Post likes count
6
A graphical depiction of the steps in building a C++ executable, with XAML and packaging
Fleshing out the diagram.