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

Dec 8, 2023
Post comments count
6
Post likes count
2
A simpler version of the task sequencer that doesn’t promise fairness

Just let a kernel object control the access.

Dec 7, 2023
Post comments count
1
Post likes count
1
In C++, how can I make a default parameter be the this
pointer of the caller?

Again, you can't, but you can fake it.

Dec 6, 2023
Post comments count
2
Post likes count
3
In C++, how can I make a member function default parameter depend on this
?

You can't, but you can fake it.

Dec 5, 2023
Post comments count
6
Post likes count
7
What was the code name for 64-bit Windows?

Sundown, which was a hidden jab at the competition.

Dec 4, 2023
Post comments count
5
Post likes count
3
What is a static chain pointer in the context of calling convention ABI?

Buried in the System V Application Binary Interface.

Dec 1, 2023
Post comments count
6
Post likes count
2
Why does the Windows Portable Executable (PE) format have both an import section and input directory?

They seem to be the same thing. Do we need both?

Nov 30, 2023
Post comments count
2
Post likes count
4
Why does the Windows Portable Executable (PE) format have separate tables for import names and import addresses?, part 2

Keeping read-only data separate from read-write data.

Nov 29, 2023
Post comments count
6
Post likes count
3
Why does the Windows Portable Executable (PE) format have separate tables for import names and import addresses?, part 1

Even though their lifetimes don't overlap, you sometimes need to go back in time.

Nov 28, 2023
Post comments count
8
Post likes count
2
A reported vulnerability about getting paid apps for free is really about paying for free apps

Try shopping around.