The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Why not auto convert week-based time zone information to date-based?
Mar 4, 2016
Post comments count 0
Post likes count 0

Why not auto convert week-based time zone information to date-based?

Raymond Chen
Raymond Chen

What an adorable snowflake.

Are SetProp and RemoveProp thread-safe?
Mar 3, 2016
Post comments count 0
Post likes count 0

Are SetProp and RemoveProp thread-safe?

Raymond Chen
Raymond Chen

As thread-safe as they can be.

How can I get the name of the function that crashed given just a module name and offset?
Mar 2, 2016
Post comments count 0
Post likes count 1

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

Raymond Chen
Raymond Chen

Resolving symbols offline.

You kids are so cute, thinking you invented email
Mar 1, 2016
Post comments count 0
Post likes count 0

You kids are so cute, thinking you invented email

Raymond Chen
Raymond Chen

It predated the Internet, you know.

The 2016/2017 Seattle Symphony subscription season at a glance
Feb 29, 2016
Post comments count 0
Post likes count 0

The 2016/2017 Seattle Symphony subscription season at a glance

Raymond Chen
Raymond Chen

The pocket reference guide for 2016/2017.

How can I get the original shortcut target path with environment variables unexpanded?
Feb 29, 2016
Post comments count 0
Post likes count 0

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

Raymond Chen
Raymond Chen

You'll have to dig into the data list.

Changing a loop into a promise or task chain
Feb 26, 2016
Post comments count 0
Post likes count 0

Changing a loop into a promise or task chain

Raymond Chen
Raymond Chen

Crack open your textbooks.

How do I preload a chunk of memory into a memory-mapped file?
Feb 25, 2016
Post comments count 0
Post likes count 0

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

Raymond Chen
Raymond Chen

PrefetchVirtualMemory will do this.

A static_cast is not always just a pointer adjustment
Feb 24, 2016
Post comments count 0
Post likes count 0

A static_cast is not always just a pointer adjustment

Raymond Chen
Raymond Chen

That null pointer thingie.