Apr 10, 2017 Post comments count0 Post likes count1 When I enable page heap, why is my one-byte buffer overrun not detected immediately? Raymond Chen I thought that was the point of page heap.
Apr 7, 2017 Post comments count0 Post likes count1 If I have a thread waiting on an event, and I call SetEvent immediately followed by ResetEvent, is the waiting thread guaranteed to be released? Raymond Chen Congratulations, you reinvented PulseEvent.
Apr 6, 2017 Post comments count0 Post likes count1 What can I do if I want to throw a C++ exception from my InitOnce callback? Raymond Chen There's the naïve solution and a sneakier one.
Apr 5, 2017 Post comments count0 Post likes count3 How do I programmatically obtain the user’s selected accent color in Windows 10? Raymond Chen It's in the UISettings object.
Mar 31, 2017 Post comments count0 Post likes count1 A survey of the various ways of creating GDI bitmaps with predefined data Raymond Chen So many to choose from.
Mar 30, 2017 Post comments count0 Post likes count1 The gradual erosion of the SEM_NOOPENFILEERRORBOX error mode Raymond Chen It does less and less, until it basically does nothing.
Mar 29, 2017 Post comments count0 Post likes count1 A brief discussion on how best to respond to the end-session messages Raymond Chen You can start early, but be aware that the user might change their mind.
Mar 22, 2017 Post comments count0 Post likes count1 You can peek to see whether your delay-loaded function loaded successfully Raymond Chen Predicting the future.
Mar 17, 2017 Post comments count0 Post likes count1 If I want to maintain a free list of pages, should I use MEM_RESET or MEM_DECOMMIT? Raymond Chen It depends.
Mar 16, 2017 Post comments count0 Post likes count1 How do I provide data to the sharing pane from a Win32 desktop application? Raymond Chen Continuing the interop pattern.