May 8, 2026 Post comments count0 Post likes count0 Developing more confidence when tracking renames via ReadDirectoryChangesW Raymond Chen You can track the file ID.
May 7, 2026 Post comments count1 Post likes count3 When you upgrade your resource strings to Unicode, don’t forget to specify the L prefix Raymond Chen Otherwise, it'll get mapped back down to the 8-bit code page.
May 6, 2026 Post comments count8 Post likes count2 Why not have changes in API behavior depend on the SDK you link against? Raymond Chen Static libraries don't stand a chance.
May 4, 2026 Post comments count1 Post likes count3 How do I inform Windows that I’m writing a binary file? Raymond Chen You don't. All files are binary at the file system level.
May 1, 2026 Post comments count1 Post likes count1 Developing a cross-process reader/writer lock with limited readers, part 4: Abandonment Raymond Chen Recovering from death of the owner.
Apr 30, 2026 Post comments count3 Post likes count2 Developing a cross-process reader/writer lock with limited readers, part 3: Fairness Raymond Chen Let the exclusive acquisition have a fair chance against shared acquisitions.
Apr 29, 2026 Post comments count1 Post likes count2 Developing a cross-process reader/writer lock with limited readers, part 2: Taking turns when being grabby Raymond Chen Please, not everybody, everything all at once.
Apr 28, 2026 Post comments count11 Post likes count2 Developing a cross-process reader/writer lock with limited readers, part 1: A semaphore Raymond Chen A pot of tokens.
Apr 24, 2026 Post comments count3 Post likes count2 Defending against exceptions in a scope_exit RAII type Raymond Chen But maybe it's not worth it.
Apr 23, 2026 Post comments count12 Post likes count2 Another crash caused by uninstaller code injection into Explorer Raymond Chen Inadvertently destroying a staircase while standing on it.