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

What’s with the weird wReserved
value at the start of the DECIMAL
structure?

It's where the discriminant goes when the DECIMAL
is put "inside" a VARIANT
.

How do I force RunOnce commands to run in a specific order?

Run them in the desired order yourself.

If I mark my thread pool callback as long-running, does it still count toward the thread pool thread limit?

Yes, because it's still in the thread pool.

What is the developer set-up for developing Windows for multiple processor architectures?

You usually just pick one and count on your friends for the others.

Dubious security vulnerability: A program does not run correctly if you run it the wrong way, redux

Trying to make the system run the program automatically.

How can I wait for Clipboard History to recognize a clipboard change before I change it again?

Listen for the change event.

Why doesn’t Clipboard History capture rapid changes to clipboard contents?

Clipboard history operates asynchronously, so you are changing it before it can respond to the changes.

What were the MS-DOS programs that the moricons.dll icons were intended for?

Tallying them up.

What were the MS-DOS programs that Windows used the progman.exe stock icons for?

Mostly generic-looking icons.