What happens to entries in the CoreApplication Properties when the source apartment shuts down?
cppdashboard.dev/r/2026/11/what-happens-to-entries-in-the-coreapplication-properties-whThis 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