The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Dec 6, 2024
Post comments count 4
Post likes count 1

Learning to read C++ compiler errors: Nonsensical errors from a function declaration

Raymond Chen

Look closely at what the error message is complaining about.

Dec 5, 2024
Post comments count 1
Post likes count 3

Won’t waiting for multiple threads one at a time introduce a severe performance issue?

Raymond Chen

It depends on how long you plan on waiting.

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

Why does my DLL reference count go up by one every time I create and exit a thread?

Raymond Chen

If you use a wrapper, you need to follow the wrapper's rules.

Dec 3, 2024
Post comments count 2
Post likes count 4

Tricks from product support: We’re not smart enough to debug the problem, can you help us?

Raymond Chen

It's not you, it's me.

Dec 2, 2024
Post comments count 1
Post likes count 5

News flash: Desire for loud cars correlates with psychopathy and sadism

Raymond Chen

More research into loud vehicles.

Dec 2, 2024
Post comments count 5
Post likes count 1

An analogy about register preservation rules in calling conventions

Raymond Chen

And tying it back to unwind codes.

Nov 29, 2024
Post comments count 1
Post likes count 1

Assessing the attack complexity of a race condition security vulnerability

Raymond Chen

It's not just how small the race window is, but how easy it is to hit the window.

Nov 28, 2024
Post comments count 0
Post likes count 3

Why does my program successfully take foreground only when running under the debugger?

Raymond Chen

That's a special exception to the normal foreground rules.

Nov 27, 2024
Post comments count 0
Post likes count 1

Checking whether a URI refers to a Web site root

Raymond Chen

Let somebody else do the parsing.