Jul 14, 2017 Post comments count0 Post likes count1 Discussion of how to add UTF-16 support to a library that internally uses UTF-8 Raymond Chen Convert it, but make sure it can convert back.
Jul 13, 2017 Post comments count0 Post likes count1 Customizing the window handle for item enumeration in IShellItem Raymond Chen It's on the site.
Jul 12, 2017 Post comments count0 Post likes count1 Why is the maximum number of TLS slots 1088? What a strange number. Raymond Chen It's a little less strange in binary.
Jul 10, 2017 Post comments count0 Post likes count1 On the circular path from RAII to crazy-town back to RAII: Thoughts on emulating C#’s using in C++ Raymond Chen A trip around the block.
Jul 7, 2017 Post comments count0 Post likes count1 How can I tell whether two paths reside on the same underlying volume, so I can know whether they can be hard-linked? Raymond Chen Don't try to guess. Just do it.
Jul 6, 2017 Post comments count0 Post likes count1 Debugging tip: Use .frame /r to recover nonvolatile registers from the stack frame Raymond Chen Saving you the trouble of reconstructing it manually.
Jul 5, 2017 Post comments count0 Post likes count2 How fair are SRW locks, particularly when there are both readers and writers? Raymond Chen Not fair! As with the other Windows synchronization objects.
Jul 3, 2017 Post comments count0 Post likes count1 Emulating the C# using keyword in C++ Raymond Chen The co_await enables new patterns.
Jun 30, 2017 Post comments count0 Post likes count1 Extracting pages from a PDF document and saving them as separate image files, C++/CX edition with co_await Raymond Chen Everybody seems to be converging on C#.
Jun 29, 2017 Post comments count0 Post likes count1 Extracting pages from a PDF document and saving them as separate image files, C++/CX edition with explicit tasks Raymond Chen Sliding over to C++/CX.