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

If you want to watch games on your tractor, please use your own iPad

Not an approved use of the embedded system.

How can I box a std::optional
into a C++/WinRT IInspectable
?

There's a handy conversion for that, but you have to know where to look.

The WM_GETDLGCODE
message is a query message and should not modify state

Wait until you actually get the message.

How can I try to escape the disease-ridden hot-tubs known as the TEMP and Downloads directories?

You can ask that dependent DLLs be loaded from the System32 directory.

Using the contents of a file to define an MSBuild property

A little trick that maybe should be better known.

Adventures in application compatibility: The case of the jump into the middle of an instruction from nowhere

Another rogue patcher.

How unique must the uIdSubclass
parameter be when I call SetWindowSubclass
?

Each one identifies an instance of the subclass for the window.

Why am I getting a weird error about promise_type
when I try to write a coroutine? part 2

Are you even writing a coroutine?

Why does the usage of the initial registers of a Win32 process depend on whether it is a 32-bit or 64-bit process?

Well, I mean, it's a different processor.