Nov 13, 2015 Post comments count0 Post likes count0 Diagnosing high CPU by studying profiling results, example Raymond Chen Why would a wait consume so much CPU time?
Nov 12, 2015 Post comments count0 Post likes count0 Why is January 1 being reported as the last week of the previous year? Raymond Chen Because the rules say so.
Nov 9, 2015 Post comments count0 Post likes count0 Some helper functions for interlocked pointer operations Raymond Chen Template-o-rama.
Nov 5, 2015 Post comments count0 Post likes count0 Sometimes a function returns NULL because NULL really is the answer Raymond Chen There is nothing there.
Nov 4, 2015 Post comments count0 Post likes count0 Changing the conditions under which ReadFile produces fewer bytes than requested Raymond Chen Where's the rest of me?
Nov 2, 2015 Post comments count0 Post likes count0 How can I make my custom namespace extension get categorized correctly in My Computer? Raymond Chen Give it the appropriate description ID.
Oct 29, 2015 Post comments count0 Post likes count0 When you open a securable object, make sure you pass the security mask you actually want (no more, no less) Raymond Chen You will get all you want, but you have to ask for it.
Oct 28, 2015 Post comments count0 Post likes count0 How do I create a wizard that contains none of the things that makes a wizard a wizard? Raymond Chen It's not a wizard, so don't use a wizard.
Oct 23, 2015 Post comments count0 Post likes count0 CoGetInterfaceAndReleaseStream does not mix with smart pointers Raymond Chen Old school meets new school.
Oct 22, 2015 Post comments count0 Post likes count1 What are the rules for CoMarshalInterface and CoUnmarshalInterface? Raymond Chen Keeping an eye on the reference gets a little harder.