- Dev Blogs
- The Old New Thing
The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Why does inadvertently passing a std::string
instead of a char const*
to a variadic function crash on x86-32 but not x86-64?
Looking at the calling convention and the small string optimization.
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.