The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Raymond Chen
Raymond Chen
Feb 5, 2016

The overly complicated rules for American football

Attempting to close a loophole creates another loophole.

0
0
Raymond Chen
Raymond Chen
Feb 4, 2016

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

Take advantage of the fact that SetErrorMode is inherited.

0
0
Raymond Chen
Raymond Chen
Feb 3, 2016

Localization gotcha: The RTL question mark

Depends on the locale.

0
0
Raymond Chen
Raymond Chen
Feb 2, 2016

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

An old NetWare compatibility hack.

0
1
Raymond Chen
Raymond Chen
Feb 1, 2016

A brief tour of the console alias functions

Kicking the tires.

0
0
Raymond Chen
Raymond Chen
Jan 29, 2016

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

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

0
0
Raymond Chen
Raymond Chen
Jan 28, 2016

Why is getting the HP_HASHSIZE so weird?

Second-order logic.

0
0
Raymond Chen
Raymond Chen
Jan 27, 2016

Why does CryptDestroyHash crash, but only sometimes?

Improper destruction leads to undefined behavior, and undefined behavior includes "crashing only sometimes".

0
0

Feedback