The Old New Thing

Practical development throughout the evolution of Windows.

Latest posts

Nov 27, 2026
Post comments count 0
Post likes count 0

Could we use the CoreApplication Properties to manage the lifetime of an object that refuses to be marshaled?

Raymond Chen

It doesn't help with the underlying problem.

Nov 26, 2026
Post comments count 0
Post likes count 3

What happens when you put a non-agile object in the CoreApplication Properties?

Raymond Chen

The reference expires, but the entry remains.

Nov 25, 2026
Post comments count 0
Post likes count 3

Why did it seem that the entries in the CoreApplication Properties expired when the source application shut down?

Raymond Chen

It's not the Properties. It's the object that you put in the Properties.

Nov 24, 2026
Post comments count 1
Post likes count 2

What happens to entries in the CoreApplication Properties when the source apartment shuts down?

Raymond Chen

Nothing, unless it's the last apartment.

Nov 23, 2026
Post comments count 2
Post likes count 1

Having two security products installed at the same time isn’t a great idea, but sometimes you have to do it

Raymond Chen

And then you're kind of stuck.

Nov 20, 2026
Post comments count 1
Post likes count 3

Another failed attempt to get the icon for the icon for the .. parent folder

Raymond Chen

Trying to generate a path that turns out to be invalid.

Nov 19, 2026
Post comments count 7
Post likes count 3

Why do I get inconsistent results when I ask for the icon for the .. parent folder?

Raymond Chen

It depends on what the parent folder is.

Nov 18, 2026
Post comments count 3
Post likes count 1

If the Windows documentation doesn’t list a particular technology as supporting an operation, does that mean that it doesn’t support it?

Raymond Chen

Windows documents what it knows, but it doesn't know what third party network protocols support.

Nov 17, 2026
Post comments count 5
Post likes count 4

In the Microsoft employee price list, why did the BASIC compiler cost less than the BASIC interpreter?

Raymond Chen

Understanding the pricing scheme.