Learn about the new site design
The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Oct 11, 2024
How can I explicitly specialize a templated C++ constructor?
Looking for a C++ tag type for representing another type.
0
1
Oct 10, 2024
A correction to the awaitable lock for C++ PPL tasks
Over-scoped lock.
0
2
Oct 9, 2024
If threads are created without a message queue, why can I post to them immediately upon creation?
Check who is doing the posting.
1
1
Oct 7, 2024
A popular but wrong way to convert a string to uppercase or lowercase
Converting character by character isn't good enough any more.
13
5
Oct 4, 2024
How does the linker decide whether to call WinMain
or wWinMain
?
If you don't tell it, it will try to figure it out.
0
2
Oct 3, 2024
How can I detect whether the user is running as an elevated administrator (as opposed to a natural administrator)?
You can ask for the elevation type.
8
5
Oct 2, 2024
A function for creating an absolute security descriptor from a self-relative one
Just wrap it up.
0
2
Oct 1, 2024
Misunderstanding the “Prevent access to registry editing tools” policy
It prevents access to the tools, but not to the registry itself.
5
4