The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

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

Are SetProp and RemoveProp thread-safe?

Raymond Chen

As thread-safe as they can be.

Mar 2, 2016
Post comments count 0
Post likes count 2

How can I get the name of the function that crashed given just a module name and offset?

Raymond Chen

Resolving symbols offline.

Mar 1, 2016
Post comments count 0
Post likes count 1

You kids are so cute, thinking you invented email

Raymond Chen

It predated the Internet, you know.

Feb 29, 2016
Post comments count 0
Post likes count 0

The 2016/2017 Seattle Symphony subscription season at a glance

Raymond Chen

The pocket reference guide for 2016/2017.

Feb 29, 2016
Post comments count 0
Post likes count 1

How can I get the original shortcut target path with environment variables unexpanded?

Raymond Chen

You'll have to dig into the data list.

Feb 26, 2016
Post comments count 0
Post likes count 1

Changing a loop into a promise or task chain

Raymond Chen

Crack open your textbooks.

Feb 25, 2016
Post comments count 0
Post likes count 1

How do I preload a chunk of memory into a memory-mapped file?

Raymond Chen

PrefetchVirtualMemory will do this.

Feb 24, 2016
Post comments count 0
Post likes count 1

A static_cast is not always just a pointer adjustment

Raymond Chen

That null pointer thingie.

Feb 23, 2016
Post comments count 0
Post likes count 1

Why does the date disappear from my taskbar, sometimes?

Raymond Chen

Because there's no room for it.