Dec 12, 2024 0 2 API naming principles for conditional operations: On, When, and If Raymond Chen Describing when a condition is tested.
Dec 11, 2024 8 2 What is the CONTINUE_IF_FAILED equivalent of RETURN_IF_FAILED? Raymond Chen Be careful how you write it, or better: Don't write it at all.
Dec 9, 2024 0 1 Learning to read C++ compiler errors: Failing to create a shared_ptr Raymond Chen Understanding what you asked the compiler to do, and why it couldn't comply.
Dec 6, 2024 4 0 Learning to read C++ compiler errors: Nonsensical errors from a function declaration Raymond Chen Look closely at what the error message is complaining about.
Dec 5, 2024 1 2 Won’t waiting for multiple threads one at a time introduce a severe performance issue? Raymond Chen It depends on how long you plan on waiting.
Dec 4, 2024 0 2 Why does my DLL reference count go up by one every time I create and exit a thread? Raymond Chen If you use a wrapper, you need to follow the wrapper's rules.
Dec 2, 2024 5 1 An analogy about register preservation rules in calling conventions Raymond Chen And tying it back to unwind codes.
Nov 28, 2024 0 2 Why does my program successfully take foreground only when running under the debugger? Raymond Chen That's a special exception to the normal foreground rules.
Nov 27, 2024 0 0 Checking whether a URI refers to a Web site root Raymond Chen Let somebody else do the parsing.
Nov 25, 2024 0 0 How can I know when a window has processed a message that I posted to it? Raymond Chen Best would be to have it tell you.