The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

May 13, 2016
Post comments count 0
Post likes count 1

Why am I being told that my message ID is too large?

Raymond Chen

Look at the message format.

May 12, 2016
Post comments count 0
Post likes count 1

How come a duplicated token doesn’t behave identically to the original?

Raymond Chen

The inside's the same, but the outside is different.

May 11, 2016
Post comments count 0
Post likes count 1

What’s the difference between duplicating the handle to a token and duplicating a token?

Raymond Chen

Are you sharing an object or are you creating two objects?

May 10, 2016
Post comments count 0
Post likes count 1

How can my CPU be running faster than the maximum speed?

Raymond Chen

Remember the Turbo button?

May 9, 2016
Post comments count 0
Post likes count 1

Taking shortcuts when following driving instructions doesn’t always pay off

Raymond Chen

Back to the source.

May 6, 2016
Post comments count 0
Post likes count 1

Is it okay to acquire an SRWLOCK recursively? (And why not?)

Raymond Chen

The documentation says it's not allowed, so it's not allowed.

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

How can I write an unkillable program, redux

Raymond Chen

License to not be killed.

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

How can I detect whether the user’s keyboard has a Break key?

Raymond Chen

Looking at the problem the wrong way.

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

Getting MS-DOS games to run on Windows 95: Not enough XMS handles

Raymond Chen

Of course I got it, right?