Functions that return the size of a required buffer generally return upper bounds, not tight bounds February 14, 2024 Feb 14, 2024 02/14/24 Raymond Chen An over-estimate is better than an under-estimate.
How can I get the Windows Runtime HttpClient to display a basic authentication prompt? February 12, 2024 Feb 12, 2024 02/12/24 Raymond Chen You need to give it some help finding the right window.
On the virtues of the trailing comma February 9, 2024 Feb 9, 2024 02/9/24 Raymond Chen A more uniform appearance comes with its own benefits beyond aesthetics.
How do I suppress the error box that appears when a LoadLibrary fails? February 8, 2024 Feb 8, 2024 02/8/24 Raymond Chen They don't appear often, but they do appear occasionally.
Why doesn’t my program get fancy drag/drop effects in high contrast mode with CLSID_DragDropHelper? February 7, 2024 Feb 7, 2024 02/7/24 Raymond Chen You have to upgrade your manifest.
How can I close a thread pool and cancel all work that had been queued to it? February 5, 2024 Feb 5, 2024 02/5/24 Raymond Chen You can put them in a group.
The case of the invalid parameter error from MeasureOverride February 2, 2024 Feb 2, 2024 02/2/24 Raymond Chen Chasing it back to its origin.
Using virtual memory placeholders to allocate contiguous address space for multiple purposes February 1, 2024 Feb 1, 2024 02/1/24 Raymond Chen Can you hold this for a second?
How can I add an environment variable to a process launched via ShellExecuteEx or IContextMenu? January 31, 2024 Jan 31, 2024 01/31/24 Raymond Chen Hooking into the way the Windows shell launches processes.
Smoothing over the differences (and defects) in the various implementations of IMemoryBuffer January 30, 2024 Jan 30, 2024 01/30/24 Raymond Chen Stick to the part that nobody messes up.