Dec 18, 2023 Post comments count1 Post likes count0 In 2023, the Gävle Goat faces a new threat to its survival Raymond Chen It's bock.
Dec 18, 2023 Post comments count3 Post likes count0 If the RegisterClass function takes ownership of the custom background brush, why is it leaking? Raymond Chen It takes ownership only on success.
Dec 15, 2023 Post comments count2 Post likes count0 How do I specify an optional string parameter to a Windows Runtime method? Raymond Chen Strings are sort of reference but sort of values.
Dec 14, 2023 Post comments count1 Post likes count0 How do I specify an optional parameter to a Windows Runtime method? Raymond Chen There is no way to express explicit optionality, but there are implicit ways.
Dec 13, 2023 Post comments count0 Post likes count1 How can I work around the absence of default parameters in the Windows Runtime? Raymond Chen You can fake it with overloads.
Dec 12, 2023 Post comments count4 Post likes count3 What happens if I define one environment variable in terms of the value of another environment variable? Raymond Chen Only certain types of dependencies are supported.
Dec 11, 2023 Post comments count12 Post likes count5 The mysterious second parameter to the x86 ENTER instruction Raymond Chen For an ABI that probably nobody uses.
Dec 8, 2023 Post comments count6 Post likes count2 A simpler version of the task sequencer that doesn’t promise fairness Raymond Chen Just let a kernel object control the access.
Dec 7, 2023 Post comments count1 Post likes count1 In C++, how can I make a default parameter be the this pointer of the caller? Raymond Chen Again, you can't, but you can fake it.
Dec 6, 2023 Post comments count2 Post likes count3 In C++, how can I make a member function default parameter depend on this? Raymond Chen You can't, but you can fake it.