Dec 23, 2024 2 0 A common proposed solution to certain categories of IFNDR: Getting the linker to verify identical functions Raymond Chen You could do it, but it could cramp your style.
Dec 20, 2024 0 1 How do I register a file type for a scripting language so that users get a warning when they run an untrusted script? Raymond Chen Use the FTA_AlwaysUnsafe edit flag.
Dec 19, 2024 6 2 Inside STL: The atomic shared_ptr Raymond Chen There's a lock hiding inside the pointer.
Dec 13, 2024 0 1 Converting to a derived class from the future: How to cast from a base class to an incomplete derived class? Raymond Chen Deferring the definition until the class is complete.
Dec 12, 2024 0 1 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 1 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.