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

Inside STL: Waiting for a std::atomic<std::shared_ptr<T>>
to change, part 2

Digging into the libstdc++ implementation.

Inside STL: Waiting for a std::atomic<std::shared_ptr<T>>
to change, part 1

Waiting on a single pointer, but checking for two.

Gesellschaft zur Stärkung der Verben: The German Society for the Irregularization of Verbs

Stand strong and proud.

Emergency power resets on Lenovo, HP, Dell, and Acer laptops

Looking for the magic button.

How can I tell whether a change to a control was due to the user or due to my program?

You know when it was done by your program because you did it.

Forcing an ERROR_KEY_DELETED
error when trying to open HKEY_CURRENT_USER\Software

Just an exercise to show that it can be done, even though it's highly unlikely to occur in practice.

Could I be getting ERROR_KEY_DELETED
for HKEY_CURRENT_USER\Software
when the user logs off?

Probably not, but there are some edge cases.

How is it possible to get ERROR_KEY_DELETED
when I’m creating a key?

The key that got deleted is not the one you are trying to create.

2024 year-end link clearance

The cycle completes.