The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Jul 24, 2015
Post comments count 0
Post likes count 1

The curse of the redefinition of the symbol HLOG

Raymond Chen

Too generic a name.

Jul 23, 2015
Post comments count 0
Post likes count 1

Corrupted file causes application to crash; is that a security vulnerability?

Raymond Chen

Maybe, maybe not.

Jul 22, 2015
Post comments count 0
Post likes count 1

When you think you found a problem with a function, make sure you’re actually calling the function, episode 2

Raymond Chen

Watch out for the local overrides.

Jul 21, 2015
Post comments count 0
Post likes count 1

Please enjoy the new eco-friendly printers, now arguably less eco-friendly

Raymond Chen

Missing the point.

Jul 20, 2015
Post comments count 0
Post likes count 1

How can I detect whether a keyboard is attached to the computer?

Raymond Chen

Look at the available raw input devices.

Jul 17, 2015
Post comments count 0
Post likes count 2

What did the Ignore button do in Windows 3.1 when an application encountered a general protection fault?

Raymond Chen

Muddling through.

Jul 16, 2015
Post comments count 0
Post likes count 1

Why do I get ERROR_INVALID_HANDLE from GetModuleFileNameEx when I know the process handle is valid?

Raymond Chen

Because it's not complaining about the process handle.

Jul 15, 2015
Post comments count 0
Post likes count 1

Why doesn’t the Print command appear when I select 20 files and right-click?

Raymond Chen

So you don't kill your machine with a stray click.

Jul 14, 2015
Post comments count 0
Post likes count 1

Hazy memories of the Windows 95 ship party

Raymond Chen

How'd that happen?