The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

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

Could there be any problems with calling GetModuleFileNameEx on your own process?

Raymond Chen

Yes.

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

String comparisons against program output is not usually the best solution

Raymond Chen

Look for programmatic interfaces.

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

If what you’re doing is undocumented, it’s not guaranteed to keep working, and your promise not to complain doesn’t really hold water

Raymond Chen

Because that's what undocumented implies.

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

On word breaking in Chinese and Japanese

Raymond Chen

Different rules.

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

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

Raymond Chen

What an adorable snowflake.

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.