Sign up

The Old New Thing

Not verified No WebSub updates No webmention support Not yet validated

Practical development throughout the evolution of Windows.

Public lists
davewiner/hackerNewsStars
Fetched

The Old New Thing
• Raymond Chen

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 6

Exception-safety, the invisible bug.

The post Making an agile version of a Windows Runtime delegate in C++/WinRT, part 6 appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 5

Making sure to use the non-agile delegate non-agile-ly.

The post Making an agile version of a Windows Runtime delegate in C++/WinRT, part 5 appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 4

Optimizing the context check.

The post Making an agile version of a Windows Runtime delegate in C++/WinRT, part 4 appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 3

The object that actively refuses to be marshaled.

The post Making an agile version of a Windows Runtime delegate in C++/WinRT, part 3 appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 2

Short-circuiting the easiest case.

The post Making an agile version of a Windows Runtime delegate in C++/WinRT, part 2 appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

Making an agile version of a Windows Runtime delegate in C++/WinRT, part 1

The easy case is easy.

The post Making an agile version of a Windows Runtime delegate in C++/WinRT, part 1 appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

Why has the display control panel pointer truncation bug gone unfixed for so long?

It's fixed, but the fix isn't getting there.

The post Why has the display control panel pointer truncation bug gone unfixed for so long? appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

Speculating on how the buggy control panel extension truncated a value that it had right in front of it

Inferring the code's history.

The post Speculating on how the buggy control panel extension truncated a value that it had right in front of it appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

The case of the invalid function pointer when shutting down the display control panel

Watching the bits disappear.

The post The case of the invalid function pointer when shutting down the display control panel appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

Microspeak: Double-click and drill down

Please, tell me more.

The post Microspeak: Double-click and drill down appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

Why don’t we just make the entire stack out of guard pages?

Guard pages all the way down?

The post Why don’t we just make the entire stack out of guard pages? appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

The case of the mysterious changes to integers when there shouldn’t have been any code generation effect

Decoding where those integer came from.

The post The case of the mysterious changes to integers when there shouldn’t have been any code generation effect appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

I’ve decoded a #pragma detect_mismatch error and fixed the mismatch, but I still get the error

You need to rebuild everything that was dependent on the change.

The post I’ve decoded a <CODE>#pragma detect_mismatch</CODE> error and fixed the mismatch, but I still get the error appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

The other kind of control flow guard check: The combined validate and call

A two-in-one package.

The post The other kind of control flow guard check: The combined validate and call appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

How did Windows 95 decide that a setup program ran?

It used some heuristics.

The post How did Windows 95 decide that a setup program ran? appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

I opened a file with FILE_FLAG_DELETE_ON_CLOSE, but now I changed my mind

You can't change your mind, but you can do it a different way.

The post I opened a file with <CODE>FILE_<WBR>FLAG_<WBR>DELETE_<WBR>ON_<WBR>CLOSE</CODE>, but now I changed my mind appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

How did we conclude that CcNamespace.dll was the ringleader of a group of DLLs that unloaded prematurely?

Contextual clues.

The post How did we conclude that <TT>CcNamespace.dll</TT> was the ringleader of a group of DLLs that unloaded prematurely? appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

The case of the thread executing from an unloaded third-party DLL

Oops, I didn't realize that I was still doing that.

The post The case of the thread executing from an unloaded third-party DLL appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

It rather involved being on the other side of this airtight hatchway: Changing administrative settings

Unlocking the door from the inside.

The post It rather involved being on the other side of this airtight hatchway: Changing administrative settings appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

2026 mid-year link clearance

Made it to another midpoint.

The post 2026 mid-year link clearance appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

A compatibility note on the abuse of Windows window class extra bytes

Finding an illicit place to hide data.

The post A compatibility note on the abuse of Windows window class extra bytes appeared first on The Old New Thing.

The Old New Thing
• Raymond Chen

The evolution of window and class extra bytes in Windows

The intended usage is encoded in the prefix.

The post The evolution of window and class extra bytes in Windows appeared first on The Old New Thing.