The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Dec 22, 2015
Post comments count 0
Post likes count 1

Unhandled Exception: Cannot print exception string because Exception.ToString() failed.

Raymond Chen

So that happened.

Dec 21, 2015
Post comments count 0
Post likes count 1

Allocating page file space without allocating RAM

Raymond Chen

Fixing an old tool.

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

Are views of memory-mapped files coherent within a single process? (And how this was the wrong question.)

Raymond Chen

Yes.

Dec 17, 2015
Post comments count 0
Post likes count 1

Dubious security vulnerability: Messing with the Recycle Bin

Raymond Chen

You're only screwing yourself.

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

You’d think that with the name TEMP, people wouldn’t expect it to be around for a long time

Raymond Chen

Temp stands for Temporary.

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

Great moments in forgetfulness: Does anybody have a copy of this file?

Raymond Chen

It's in a safe place.

Dec 14, 2015
Post comments count 0
Post likes count 1

Calculating integer factorials in constant time, taking advantage of overflow behavior

Raymond Chen

Too high! Too high!

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

Why does OpenProcess return access denied, even if I enable debug privilege?

Raymond Chen

Asking for more than you need.