The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Raymond Chen
Raymond Chen
Jun 18, 2015

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

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

0
0
Raymond Chen
Raymond Chen
Jun 16, 2015

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

I'll get right on that.

0
0
Raymond Chen
Raymond Chen
Jun 15, 2015

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

Taking it a step further.

0
0
Raymond Chen
Raymond Chen
Jun 12, 2015

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

Opportunistic locks again.

0
0
Raymond Chen
Raymond Chen
Jun 11, 2015

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

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

0
0
Raymond Chen
Raymond Chen
Jun 10, 2015

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

One more step.

0
0
Raymond Chen
Raymond Chen
Jun 9, 2015

Bitter or acerbic? or does it make a difference?

What does that word mean?

0
0