The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

How do I get the computer’s serial number? Consuming Windows Runtime classes in desktop apps, part 3: C++/WinRT
Jan 8, 2018
Post comments count 0
Post likes count 0

How do I get the computer’s serial number? Consuming Windows Runtime classes in desktop apps, part 3: C++/WinRT

Raymond Chen
Raymond Chen

Getting into the modern swing of things.

How do I get the computer’s serial number? Consuming Windows Runtime classes in desktop apps, part 2: C++/CX
Jan 5, 2018
Post comments count 0
Post likes count 0

How do I get the computer’s serial number? Consuming Windows Runtime classes in desktop apps, part 2: C++/CX

Raymond Chen
Raymond Chen

Annoying to set up, but easier to use.

How do I get the computer’s serial number? Consuming Windows Runtime classes in desktop apps, part 1: Raw C++
Jan 4, 2018
Post comments count 0
Post likes count 0

How do I get the computer’s serial number? Consuming Windows Runtime classes in desktop apps, part 1: Raw C++

Raymond Chen
Raymond Chen

We can do this the easy way or the hard way. Let's do it the hard way.

Why are the module timestamps in Windows 10 so nonsensical?
Jan 3, 2018
Post comments count 0
Post likes count 2

Why are the module timestamps in Windows 10 so nonsensical?

Raymond Chen
Raymond Chen

They're really a uniqueness identifier.

What happens when a huge number of people share a single grocery store loyalty card?
Jan 2, 2018
Post comments count 0
Post likes count 0

What happens when a huge number of people share a single grocery store loyalty card?

Raymond Chen
Raymond Chen

They can tell.

How do I know that Resource Monitor isn’t just retaining a handle to the terminated process?
Jan 1, 2018
Post comments count 0
Post likes count 0

How do I know that Resource Monitor isn’t just retaining a handle to the terminated process?

Raymond Chen
Raymond Chen

Let's run some more experiments.

2017 year-end link clearance
Dec 29, 2017
Post comments count 0
Post likes count 0

2017 year-end link clearance

Raymond Chen
Raymond Chen

Another year passes.

How does Resource Monitor get information for processes that already terminated?
Dec 28, 2017
Post comments count 0
Post likes count 0

How does Resource Monitor get information for processes that already terminated?

Raymond Chen
Raymond Chen

It's an optical illusion.

Why do I have to pass a valid page protection value to VirtualAlloc even if it ignores it?
Dec 27, 2017
Post comments count 0
Post likes count 0

Why do I have to pass a valid page protection value to VirtualAlloc even if it ignores it?

Raymond Chen
Raymond Chen

It ignores it, after it validates it.