The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Apr 19, 2016
Post comments count 0
Post likes count 5

Why is there a screen that says “It is now safe to turn off your computer”?

Raymond Chen

Because that's when you know.

Apr 18, 2016
Post comments count 0
Post likes count 1

Getting MS-DOS games to run on Windows 95: Too much memory!

Raymond Chen

Another case of intentionally under-reporting memory.

Apr 15, 2016
Post comments count 0
Post likes count 1

What happens if I call EnumPropsEx while another thread is mutating the properties?

Raymond Chen

You get a best-effort.

Apr 14, 2016
Post comments count 0
Post likes count 1

Even though the target audience may be programmers, it can still be seen by users

Raymond Chen

Freaking out over programmer jargon.

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

If relocated DLLs cannot share pages, then doesn’t ASLR cause all pages to be non-shared?

Raymond Chen

ASLR is careful to keep sharing alive.

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

Inherited access control entries are captured when the child object is created

Raymond Chen

Frozen in time.

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

Getting MS-DOS games to run on Windows 95: The interrupt flag

Raymond Chen

Incomplete virtualization strikes again.

Apr 8, 2016
Post comments count 0
Post likes count 1

Why does FindExecutable behave erratically for files with extensions longer than three characters? (And what can you do about it?)

Raymond Chen

Short file names strike again.

Apr 7, 2016
Post comments count 0
Post likes count 1

Why can’t the debugger call GetFinalPathNameByHandle via .call?

Raymond Chen

Because it doesn't know how.