The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Apr 2, 2024
Post comments count 4
Post likes count 6

The history of computing, as told by the hallways of Microsoft Building 41

Raymond Chen

A walk through history, in the form of wall textures.

Apr 1, 2024
Post comments count 19
Post likes count 9

Subroutine calls in the ancient world, before computers had stacks or heaps

Raymond Chen

A lot of computing got done even before we had stacks and heaps.

Mar 29, 2024
Post comments count 10
Post likes count 5

How can I tell C++ that I want to discard a nodiscard value?

Raymond Chen

A variety of tricks, with different degrees of readability and legality.

Mar 28, 2024
Post comments count 8
Post likes count 3

I called Create­Environment­Block with a process’s token, but I didn’t get that process’s environment

Raymond Chen

That's not what the <CODE>Create­Environment­Block</CODE> function does.

Mar 27, 2024
Post comments count 9
Post likes count 5

Some choices for encrypting data so that it can be decrypted only by the same user or computer

Raymond Chen

There's your classic, and there's some newfangled stuff.

Mar 26, 2024
Post comments count 2
Post likes count 4

Dubious security vulnerability: Manual operations can cause a program to hang

Raymond Chen

You did this to yourself.

Mar 25, 2024
Post comments count 0
Post likes count 4

Why isn’t C++ using my default parameter to deduce a template type?

Raymond Chen

Trying to have it both ways.

Mar 22, 2024
Post comments count 7
Post likes count 2

Why does my thread get a broken string as its initial parameter?

Raymond Chen

It got converted too late.

Mar 21, 2024
Post comments count 13
Post likes count 2

Using the Display­Information class from a desktop Win32 application, part 2

Raymond Chen

Completing the prerequisites.