How can I atomically leave a critical section and delete it? April 14, 2017 Apr 14, 2017 04/14/17 Raymond Chen Even if you could, it wouldn't help you.
Can memcpy go into an infinite loop? Why is it being blamed for a busy hang? April 13, 2017 Apr 13, 2017 04/13/17 Raymond Chen Look at the bigger picture.
How do I get the current directory for a non-current drive? April 12, 2017 Apr 12, 2017 04/12/17 Raymond Chen GetFullPathName will tell you.
The Windows 8 close gestures, a retrospective April 11, 2017 Apr 11, 2017 04/11/17 Raymond Chen Top to bottom.
When I enable page heap, why is my one-byte buffer overrun not detected immediately? April 10, 2017 Apr 10, 2017 04/10/17 Raymond Chen I thought that was the point of page heap.
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? April 7, 2017 Apr 7, 2017 04/7/17 Raymond Chen Congratulations, you reinvented PulseEvent.
What can I do if I want to throw a C++ exception from my InitOnce callback? April 6, 2017 Apr 6, 2017 04/6/17 Raymond Chen There's the naïve solution and a sneakier one.
How do I programmatically obtain the user’s selected accent color in Windows 10? April 5, 2017 Apr 5, 2017 04/5/17 Raymond Chen It's in the UISettings object.
Microspeak: snap April 4, 2017 Apr 4, 2017 04/4/17 Raymond Chen To take a snapshot of the source code in order to produce a build.
How do I create a shortcut in the Send To menu that runs a program with a command line option? April 3, 2017 Apr 3, 2017 04/3/17 Raymond Chen Put the option in the shortcut target.