The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Nov 21, 2025
Post comments count
3
Post likes count
0
Maybe somebody can explain to me how weak references solve the ODR problem
I don't see it.
Nov 20, 2025
Post comments count
2
Post likes count
1
In the commit-on-demand pattern, what happens if an access violation straddles multiple pages?
The access violation exceptions will continue until commit improves.
Nov 19, 2025
Post comments count
3
Post likes count
6
Is WriteProcessMemory faster than shared memory for transferring data between two processes?
Shared memory is the copy-free solution.
Nov 18, 2025
Post comments count
1
Post likes count
4
Microspeak: Little-r
Harkening back to a very old mail program.
Nov 17, 2025
Post comments count
21
Post likes count
2
How can I detect that Windows is running in S-Mode, redux
Doing it on hard mode.
Nov 14, 2025
Post comments count
9
Post likes count
2
I can use WM_COPYDATA to send a block of data to another window, but how does it send data back?
They can send it back with their own WM_ message, or they can put it in an agreed-upon shared location.
Nov 13, 2025
Post comments count
5
Post likes count
1
Could we use CTAD to simplify the use of WRL’s Callback function?
Not directly, but maybe indirectly.
Nov 12, 2025
Post comments count
5
Post likes count
2
Non-recursively deleting a binary tree in constant space: Rotating the tree
Preserving in-order while linearizing.
Nov 11, 2025
Post comments count
7
Post likes count
4
Behind the scenes on how Windows 95 application compatibility patched broken programs
Replacing bytes with the greatest of care.