Oct 11, 2024 1 2 How can I explicitly specialize a templated C++ constructor? Raymond Chen Looking for a C++ tag type for representing another type.
Oct 9, 2024 1 1 If threads are created without a message queue, why can I post to them immediately upon creation? Raymond Chen Check who is doing the posting.
Oct 7, 2024 14 5 A popular but wrong way to convert a string to uppercase or lowercase Raymond Chen Converting character by character isn't good enough any more.
Oct 4, 2024 0 2 How does the linker decide whether to call WinMain or wWinMain? Raymond Chen If you don't tell it, it will try to figure it out.
Oct 3, 2024 8 5 How can I detect whether the user is running as an elevated administrator (as opposed to a natural administrator)? Raymond Chen You can ask for the elevation type.
Oct 2, 2024 0 2 A function for creating an absolute security descriptor from a self-relative one Raymond Chen Just wrap it up.
Oct 1, 2024 5 4 Misunderstanding the “Prevent access to registry editing tools” policy Raymond Chen It prevents access to the tools, but not to the registry itself.
Sep 30, 2024 3 0 Pulling a single item from a C++ parameter pack by its index, remarks Raymond Chen Why such a complicated way to pull the type from the pack?