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.
A comparison of various implementations of the Windows Runtime IMemoryBuffer January 29, 2024 Jan 29, 2024 01/29/24 Raymond Chen Every unhappy class is unhappy in its own way.
How can I expose a pre-existing block of memory as a Windows Runtime object without copying the data? January 26, 2024 Jan 26, 2024 01/26/24 Raymond Chen Assembling all the pieces.
How can I give away a COM reference just before my object destructs? January 25, 2024 Jan 25, 2024 01/25/24 Raymond Chen You have to do it before committing to destruction.
The dangerous implementations of the IMemoryBufferReference.Closed event January 24, 2024 Jan 24, 2024 01/24/24 Raymond Chen Mistakenly handing out COM references that don't work.
The useless IMemoryBufferReference.Closed event January 23, 2024 Jan 23, 2024 01/23/24 Raymond Chen It tells you that you have already lost.
Accessing a block of memory represented by a Windows Runtime IMemoryBuffer January 22, 2024 Jan 22, 2024 01/22/24 Raymond Chen Through the currency known as an IMemoryBufferReference.
The case of the fail-fast trying to log a caught exception January 19, 2024 Jan 19, 2024 01/19/24 Raymond Chen What is being thrown and why can't we log it?
Implementing two-phase initialization with ATL January 18, 2024 Jan 18, 2024 01/18/24 Raymond Chen ATL looks like it supports two-phase initialization, but it doesn't.