The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts

Jun 4, 2025
Post comments count
2
Post likes count
2
Riffing on a typo in the name of the opera Turandot

On the dot.

Jun 4, 2025
Post comments count
0
Post likes count
0
How can I programmatically find the network path by which a folder has been shared?

There is no direct query. You'll have to infer it.

Jun 3, 2025
Post comments count
8
Post likes count
4
The symbolism of the magnifying glass is not universal

Just making things bigger?

Jun 2, 2025
Post comments count
0
Post likes count
1
Stating the obvious about debugging an invalid parameter error when freeing memory

Writing it down for posterity.

May 30, 2025
Post comments count
5
Post likes count
0
Using an oracle to see where your code is producing the wrong output

If there is a reference implementation, then use it as a check.

May 29, 2025
Post comments count
6
Post likes count
7
The case of creating new instances when you wanted to use the same one

C++ language backward compatibility makes legal what you had hoped wasn't.

May 28, 2025
Post comments count
1
Post likes count
2
How do I convert a WIC bitmap back to a GDI HBITMAP
?

You can copy the bits into a DIB section.

May 27, 2025
Post comments count
9
Post likes count
3
What was origin of the code name Redpill for Windows 8 feature lockout?

Pretty obvious, actually.

May 26, 2025
Post comments count
2
Post likes count
0
Why does EnumProcessModules
report no modules on a process that was created suspended?

There are no modules yet because you didn't give them a chance to load.