Raymond Chen

Raymond has been involved in the evolution of Windows for more than 25 years. In 2003, he began a Web site known as The Old New Thing which has grown in popularity far beyond his wildest imagination, a development which still gives him the heebie-jeebies. The Web site spawned a book, coincidentally also titled The Old New Thing (Addison Wesley 2007). He currently appears regularly on MSDN Channel 9’s One Dev Minute channel in the One Dev Question video series.

Post by this author

Trouble connecting to Web sites and services because of certificate errors? Check if you’re being held captive

There's a man in the middle.

Instead of a C++ template parlor trick, why not just add support based on whether the header file has already been included?

Header file inclusion order dependencies.

C++ template parlor tricks: Using a type before it is defined

You can talk about hypothetical things, hoping that a real thing shows up later.

Not even trying to cross an airtight hatchway: Calling a function in your own process by synthesizing a function pointer

You can already attack yourself in far more interesting ways.

I used FILE_FLAG_SEQUENTIAL_SCAN but it didn’t seem to speed up my sequential scanning

It triggers prefetching, but your usage pattern may mean that prefetch doesn't mean much.

Dubious security vulnerability: Reading the files in the WindowsApps folder

You already had access to those files, by virtue of the fact that they ran in the first place.

What kind of caller diagnostic information can I get from exceptions thrown by C++/WinRT and wil?, C++20 edition

The state of the art has moved forward slightly.

The case of the application that used thread local storage it never allocated

Of course it's there, isn't it? I mean, it's always been there.

How do I pass a raw pointer to a Windows Runtime function?

Raw pointers don't exist in the Windows Runtime, so you'll have to re-express it in terms of something that does.

How does JavaScript represent output parameters in the Windows Runtime?

It has to fake it.

Feedback usabilla icon