The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Jun 19, 2015
Post comments count 0
Post likes count 1

Why does the class name for Explorer change depending on whether you open it with /e?

Raymond Chen

Compatibility, of course.

Jun 18, 2015
Post comments count 0
Post likes count 1

How come the technique for launching an unelevated process from an elevated process doesn’t work?

Raymond Chen

You've disabled the feature that makes unelevated processes possible.

Jun 17, 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

Raymond Chen

Don't mock me.

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

One way to make sure nobody reports problems with your Web site

Raymond Chen

I'll get right on that.

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

How can I reposition my window so it isn’t covered by the touch keyboard?

Raymond Chen

Taking it a step further.

Jun 12, 2015
Post comments count 0
Post likes count 1

How can I force a CreateFile call to hang, in order to test something?

Raymond Chen

Opportunistic locks again.

Jun 11, 2015
Post comments count 0
Post likes count 1

Keep your eye on the code page: Is this string CP_ACP or UTF-8?

Raymond Chen

You don't know. Somebody has to tell you.

Jun 10, 2015
Post comments count 0
Post likes count 1

Taking ownership of a file doesn’t give you access, yet

Raymond Chen

One more step.

Jun 9, 2015
Post comments count 0
Post likes count 1

Bitter or acerbic? or does it make a difference?

Raymond Chen

What does that word mean?