The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

What’s with the weird <CODE>wReserved</CODE> value at the start of the <CODE>DECIMAL</CODE> structure?
May 16, 2025
Post comments count 2
Post likes count 1

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

Raymond Chen
Raymond Chen

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?
May 15, 2025
Post comments count 5
Post likes count 1

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

Raymond Chen
Raymond Chen

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?
May 14, 2025
Post comments count 0
Post likes count 1

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

Raymond Chen
Raymond Chen

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

What is the developer set-up for developing Windows for multiple processor architectures?
May 13, 2025
Post comments count 8
Post likes count 2

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

Raymond Chen
Raymond Chen

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
May 12, 2025
Post comments count 2
Post likes count 1

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

Raymond Chen
Raymond Chen

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?
May 9, 2025
Post comments count 12
Post likes count 3

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

Raymond Chen
Raymond Chen

Listen for the change event.

Why doesn’t Clipboard History capture rapid changes to clipboard contents?
May 8, 2025
Post comments count 6
Post likes count 1

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

Raymond Chen
Raymond Chen

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

What were the MS-DOS programs that the <TT>moricons.dll</TT> icons were intended for?
May 7, 2025
Post comments count 13
Post likes count 5

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

Raymond Chen
Raymond Chen

Tallying them up.

What were the MS-DOS programs that Windows used the <TT>progman.exe</TT> stock icons for?
May 6, 2025
Post comments count 7
Post likes count 5

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

Raymond Chen
Raymond Chen

Mostly generic-looking icons.