The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Mar 19, 2019
Post comments count 19
Post likes count 1

Why does my app’s uninstaller disappear from the Start menu?

Raymond Chen

Keeping things tidy.

Mar 18, 2019
Post comments count 34
Post likes count 1

How do I design a class so that methods must be called in a certain order?

Raymond Chen

Consider it a chain of operation objects.

Mar 15, 2019
Post comments count 15
Post likes count 1

How can we use IsBadWritePtr to fix a buffer overflow, if IsBadWritePtr is itself bad?

Raymond Chen

Don't catch the overflow as it happens. Stop the overflow before it happens.

Mar 14, 2019
Post comments count 5
Post likes count 1

Resolving security issues sometimes involves its own degree of managing people’s egos

Raymond Chen

It's not purely technical. There's sociology here, too.

Mar 13, 2019
Post comments count 69
Post likes count 1

Welcome to my new home on the Microsoft Developer Tools and Services blog site

Raymond Chen

Pardon the dust.

Mar 13, 2019
Post comments count 14
Post likes count 1

Why is there a limit of 15 shell icon overlays?

Raymond Chen

Ran out of bits.

Mar 12, 2019
Post comments count 1
Post likes count 1

Asking for clear written documentation that “Require trusted path for credential entry” is no longer recommended

Raymond Chen

It was never recommended in the first place.

Mar 11, 2019
Post comments count 0
Post likes count 1

Precision questioning: The cynical description

Raymond Chen

Just keep digging.

Mar 8, 2019
Post comments count 2
Post likes count 1

Even if your assembly language code doesn’t call any Windows APIs, you still have to follow the ABI

Raymond Chen

You're not off by yourself; you're part of a society.