Sep 24, 2025 Post comments count13 Post likes count8 Why is Windows still tinkering with critical sections? Raymond Chen The critical section may be an old dog, but it's still learning new tricks.
Sep 19, 2025 Post comments count1 Post likes count1 Learning to read C++ compiler errors: Not a legal base class Raymond Chen What would make it an illegal base class?
Sep 18, 2025 Post comments count6 Post likes count2 Can I close a duplicate handle while I’m waiting on the original? Raymond Chen That's fine, since you're not closing the handle that you're waiting on.
Sep 17, 2025 Post comments count1 Post likes count2 How can I get my shell thumbnail extractors to run in the same process? Raymond Chen Adding another level of indirection.
Sep 12, 2025 Post comments count4 Post likes count5 How can I convert a third party in-process server so it runs in the COM surrogate? Raymond Chen You can put your own object in the surrogate first.
Sep 11, 2025 Post comments count4 Post likes count1 Why can’t std::apply figure out which overload I intend to use? Only one of then will work! Raymond Chen The overload resolution happens before the compiler knows what it's going to be used for.
Sep 10, 2025 Post comments count7 Post likes count3 The documentation says that CompanyName version information is required, but my program seems to work without it, so how required is it? Raymond Chen It's more of a "Very strongly recommended" than a "Required".
Sep 5, 2025 Post comments count2 Post likes count1 The case of the crash on a null pointer even though we checked it for null Raymond Chen Understanding what you're checking.
Sep 4, 2025 Post comments count1 Post likes count3 How can I write a C++/WinRT IAsyncOperation<T> where T is not a Windows Runtime type?, part 2 Raymond Chen Safer smuggling.
Sep 3, 2025 Post comments count1 Post likes count3 How can I write a C++/WinRT IAsyncOperation<T> where T is not a Windows Runtime type?, part 1 Raymond Chen It's not representable in the Windows Runtime, but you can smuggle it.