Article

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

The Old New Thing ·The Old New Thing ·Published 2026-11-24 ·5 min read

This article discusses the behavior of the COM static store in Universal Windows Platform apps, particularly regarding the CoreApplication Properties and their persistence after the source apartment shuts down. It includes a demonstration with code to illustrate the concept.

From the article

Don’t know why, but last I tried the COM static store (runtime class “Windows.ApplicationModel.Core.CoreApplication”) was accessible from an unpackaged, Win32 application. It also seems to tie entries to the originating apartment lifetime (namely: the apartment from which the property is added). Can you shed some light?

First part first: The COM static store is available to all applications.

This API is supported in Universal Windows Platform apps only, except for the Properties property, which is always available .


Share this resource


Discovered 2026-11-25 Source The Old New Thing Archive 2026-11 →