The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts
Jun 2, 2025
Post comments count
1
Post likes count
0
Stating the obvious about debugging an invalid parameter error when freeing memory
Writing it down for posterity.
May 30, 2025
Post comments count
4
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
4
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
1
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
1
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.
May 23, 2025
Post comments count
6
Post likes count
3
How can I detect if one of my helper processes is launching child processes?
You can ask a job object to keep track for you.
May 22, 2025
Post comments count
4
Post likes count
3
How can I create a window the size of the screen without it being treated as a fullscreen window?
You can declare that you aren't rude.
May 21, 2025
Post comments count
5
Post likes count
2
Silly parlor tricks: Promoting a 32-bit value to a 64-bit value when you don’t care about garbage in the upper bits
Inline assembly that doesn't do anything.

