The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Feb 1, 2024
Post comments count
7
Post likes count
2
Using virtual memory placeholders to allocate contiguous address space for multiple purposes
Can you hold this for a second?
Jan 31, 2024
Post comments count
10
Post likes count
2
How can I add an environment variable to a process launched via ShellExecuteEx or IContextMenu?
Hooking into the way the Windows shell launches processes.
Jan 30, 2024
Post comments count
1
Post likes count
1
Smoothing over the differences (and defects) in the various implementations of IMemoryBuffer
Stick to the part that nobody messes up.
Jan 29, 2024
Post comments count
0
Post likes count
2
A comparison of various implementations of the Windows Runtime IMemoryBuffer
Every unhappy class is unhappy in its own way.
Jan 26, 2024
Post comments count
0
Post likes count
2
How can I expose a pre-existing block of memory as a Windows Runtime object without copying the data?
Assembling all the pieces.
Jan 25, 2024
Post comments count
8
Post likes count
1
How can I give away a COM reference just before my object destructs?
You have to do it before committing to destruction.
Jan 24, 2024
Post comments count
2
Post likes count
2
The dangerous implementations of the IMemoryBufferReference.Closed event
Mistakenly handing out COM references that don't work.
Jan 23, 2024
Post comments count
1
Post likes count
2
The useless IMemoryBufferReference.Closed event
It tells you that you have already lost.
Jan 22, 2024
Post comments count
0
Post likes count
3
Accessing a block of memory represented by a Windows Runtime IMemoryBuffer
Through the currency known as an IMemoryBufferReference.