The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Oct 15, 2024
Post comments count 4
Post likes count 2

A quick introduction to return address protection technologies

Raymond Chen

Detecting attempts to manipulate the return address.

Oct 14, 2024
Post comments count 13
Post likes count 3

On naming things: The tension between naming something for what it is, what it does, or how it is used

Raymond Chen

You are guaranteed to make someone upset.

Oct 11, 2024
Post comments count 1
Post likes count 3

How can I explicitly specialize a templated C++ constructor?

Raymond Chen

Looking for a C++ tag type for representing another type.

Oct 10, 2024
Post comments count 2
Post likes count 3

A correction to the awaitable lock for C++ PPL tasks

Raymond Chen

Over-scoped lock.

Oct 9, 2024
Post comments count 3
Post likes count 3

If threads are created without a message queue, why can I post to them immediately upon creation?

Raymond Chen

Check who is doing the posting.

Oct 8, 2024
Post comments count 1
Post likes count 2

Microspeak: Run to ground

Raymond Chen

Come to a resolution.

Oct 7, 2024
Post comments count 14
Post likes count 8

A popular but wrong way to convert a string to uppercase or lowercase

Raymond Chen

Converting character by character isn't good enough any more.

Oct 4, 2024
Post comments count 0
Post likes count 3

How does the linker decide whether to call WinMain or wWinMain?

Raymond Chen

If you don't tell it, it will try to figure it out.

Oct 3, 2024
Post comments count 8
Post likes count 6

How can I detect whether the user is running as an elevated administrator (as opposed to a natural administrator)?

Raymond Chen

You can ask for the elevation type.