The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Feb 8, 2016
Post comments count 0
Post likes count 1

How can I get the canonical name for a known folder?

Raymond Chen

You ask it.

Feb 5, 2016
Post comments count 0
Post likes count 0

The overly complicated rules for American football

Raymond Chen

Attempting to close a loophole creates another loophole.

Feb 5, 2016
Post comments count 0
Post likes count 1

If I issue a second overlapped I/O operation without waiting for the first one to complete, are they still guaranteed to complete in order?

Raymond Chen

Of course not. That's why it's called "overlapped."

Feb 4, 2016
Post comments count 0
Post likes count 1

How do I prevent a child process from displaying the Windows Error Reporting dialog?

Raymond Chen

Take advantage of the fact that SetErrorMode is inherited.

Feb 3, 2016
Post comments count 0
Post likes count 1

Localization gotcha: The RTL question mark

Raymond Chen

Depends on the locale.

Feb 2, 2016
Post comments count 0
Post likes count 2

What happened to the ability to use … (three dots) to refer to the grandparent directory?

Raymond Chen

An old NetWare compatibility hack.

Feb 1, 2016
Post comments count 0
Post likes count 1

A brief tour of the console alias functions

Raymond Chen

Kicking the tires.

Jan 29, 2016
Post comments count 0
Post likes count 1

Does the thread pool have different handle access privileges? Why am I getting ERROR_INVALID_HANDLE?

Raymond Chen

The most common reason for getting ERROR_INVALID_HANDLE is that you have an invalid handle.

Jan 28, 2016
Post comments count 0
Post likes count 1

Why is getting the HP_HASHSIZE so weird?

Raymond Chen

Second-order logic.