Nov 9, 2022 Post comments count6 Post likes count6 Why don’t Windows functions begin with a pointless MOV EDI,EDI instruction on x86-64? Raymond Chen Applying the hot-patch in a different way.
Nov 7, 2022 Post comments count2 Post likes count3 In the debugger, how can I get from a projected type back to the C++/WinRT implementation? Raymond Chen Look behind you.
Nov 4, 2022 Post comments count1 Post likes count2 Why am I getting a RPC_E_WRONG_THREAD exception when I’m on the right thread? Raymond Chen It's the wrong thread from XAML's point of view.
Nov 3, 2022 Post comments count2 Post likes count5 How does the dialog manager calculate the average width of a character? Raymond Chen It's a simple formula, perhaps too simple.
Nov 2, 2022 Post comments count5 Post likes count6 A history of the fd_set, FD_SETSIZE, and how it relates to WinSock Raymond Chen The fd_set started out as just a bitmap.
Oct 31, 2022 Post comments count0 Post likes count3 How can I test my geolocation code on a system without a GPS? Raymond Chen You can use the Windows Device Portal to create a synthetic GPS.
Oct 28, 2022 Post comments count4 Post likes count4 Setting properties in C++/WinRT is done by a function call, but you need to call the function the right way Raymond Chen The new value is the function parameter.
Oct 26, 2022 Post comments count3 Post likes count3 What can or should I do with the cursor handle returned by SetCursor? Raymond Chen You can put it back, but sometimes you need to make sure you do it before anybody else can see the change.
Oct 24, 2022 Post comments count0 Post likes count2 Why can’t I programmatically inspect the check boxes in the Security property sheet any more? Raymond Chen Abusing the ISecurityInformation::PropertySheetPageCallback method.
Oct 21, 2022 Post comments count1 Post likes count3 What happens if my C++ exception handler itself raises an exception? Raymond Chen And comparing to the handling of structured exceptions.