Apr 15, 2016 Post comments count0 Post likes count1 What happens if I call EnumPropsEx while another thread is mutating the properties? Raymond Chen You get a best-effort.
Apr 8, 2016 Post comments count0 Post likes count1 Why does FindExecutable behave erratically for files with extensions longer than three characters? (And what can you do about it?) Raymond Chen Short file names strike again.
Apr 7, 2016 Post comments count0 Post likes count1 Why can’t the debugger call GetFinalPathNameByHandle via .call? Raymond Chen Because it doesn't know how.
Apr 6, 2016 Post comments count0 Post likes count1 How does GetFinalPathNameByHandle choose the name if there are multiple names due to hard links? Raymond Chen It picks the one you you used to open the file.
Mar 31, 2016 Post comments count0 Post likes count1 Why are there four functions for parsing strings into GUIDs, and why are they in three different DLLs? Raymond Chen Different historical contexts..
Mar 25, 2016 Post comments count0 Post likes count1 Fixing a floating point exception when operating on NaN Raymond Chen Generate it at compile time.
Mar 24, 2016 Post comments count0 Post likes count1 Why does PathIsUNC say that paths that begin with \\?\ are not UNCs? Raymond Chen Because they aren't.
Mar 18, 2016 Post comments count0 Post likes count1 What are the consequences of reserving a huge amount of memory, most of which is never committed? Raymond Chen It's mostly harmless now.
Mar 17, 2016 Post comments count0 Post likes count1 Why not use weak linking to solve the retargetable library problem? Raymond Chen A discussion.
Mar 16, 2016 Post comments count0 Post likes count1 Randomly-generated passwords still have to be legal strings Raymond Chen Well-formed strings according to the encoding.