Oct 10, 2024 Post comments count2 Post likes count3 A correction to the awaitable lock for C++ PPL tasks Raymond Chen Over-scoped lock.
Oct 9, 2024 Post comments count3 Post likes count3 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 8, 2024 Post comments count1 Post likes count2 Microspeak: Run to ground Raymond Chen Come to a resolution.
Oct 7, 2024 Post comments count14 Post likes count8 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 Post comments count0 Post likes count3 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 Post comments count8 Post likes count6 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 Post comments count0 Post likes count3 A function for creating an absolute security descriptor from a self-relative one Raymond Chen Just wrap it up.
Oct 1, 2024 Post comments count5 Post likes count5 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 Post comments count3 Post likes count1 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?
Sep 27, 2024 Post comments count3 Post likes count5 The case of the crash when destructing a std::map Raymond Chen Who is corrupting the map?