The Old New Thing
Practical development throughout the evolution of Windows.
Latest posts

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.

Sometimes perfect forwarding can be too perfect: Lazy conversion is lazy

Lazy conversion is too lazy.

Microspeak: Breaking into jail

Just asking for trouble.

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

A survey of the current state of the art.

On Windows Runtime asynchronous operations with critical progress reports

Make the caller provide the progress handler up front.