May 12, 2016 Post comments count0 Post likes count0 How come a duplicated token doesn’t behave identically to the original? Raymond Chen The inside's the same, but the outside is different.
May 11, 2016 Post comments count0 Post likes count0 What’s the difference between duplicating the handle to a token and duplicating a token? Raymond Chen Are you sharing an object or are you creating two objects?
May 6, 2016 Post comments count0 Post likes count0 Is it okay to acquire an SRWLOCK recursively? (And why not?) Raymond Chen The documentation says it's not allowed, so it's not allowed.
May 5, 2016 Post comments count0 Post likes count0 How can I write an unkillable program, redux Raymond Chen License to not be killed.
May 4, 2016 Post comments count0 Post likes count0 How can I detect whether the user’s keyboard has a Break key? Raymond Chen Looking at the problem the wrong way.
Apr 29, 2016 Post comments count0 Post likes count0 What does QueryThreadCycleTime actually count? Raymond Chen Whatever the CPU wants.
Apr 28, 2016 Post comments count0 Post likes count0 Is there an API for redrawing a specific window from another application? Raymond Chen Once again, turns out to be the wrong question.
Apr 22, 2016 Post comments count0 Post likes count0 Should I be concerned that WaitForSingleObject is taking a large percentage of my performance test’s execution time Raymond Chen What you've got there, my friend, is a WaitForSingleObject stress test.
Apr 15, 2016 Post comments count0 Post likes count0 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 count0 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.