The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Nov 7, 2018
Post comments count 0
Post likes count 2

Using linker segments and __declspec(allocate(…)) to arrange data in a specific order

Raymond Chen

Getting the ducks in a row, in order.

Nov 6, 2018
Post comments count 0
Post likes count 1

Dubious security vulnerability: A program that adds a user to the Administrators group in the usual way

Raymond Chen

This is a perfectly legitimate program.

Nov 5, 2018
Post comments count 0
Post likes count 1

Sure, you can implement your own cryptographic service provider for a standard algorithm, but why would you?

Raymond Chen

You are signing up for a very big world of hurt.

Nov 2, 2018
Post comments count 0
Post likes count 1

Why does the MonthCalendar control show the wrong week numbers in Romania?

Raymond Chen

Wrong from whose point of view?

Nov 1, 2018
Post comments count 0
Post likes count 0

In the state of Washington, you are allowed to turn left on a red light onto a one-way street

Raymond Chen

And freeway onramps count as one-way streets.

Nov 1, 2018
Post comments count 0
Post likes count 1

If the prototypes of DispatchMessageA and DispatchMessageW are identical, why have both?

Raymond Chen

Because there's still a character set dependency.

Oct 31, 2018
Post comments count 0
Post likes count 2

Dulce et decorum est pro patria party

Raymond Chen

Anyone up for a toga party?

Oct 30, 2018
Post comments count 0
Post likes count 1

What happened to the Arial Unicode MS font?

Raymond Chen

It couldn't do what it was originally created to do.

Oct 29, 2018
Post comments count 0
Post likes count 1

The case of the oplock deadlock poppycock

Raymond Chen

Call Sherlock.