Why did it seem that the entries in the CoreApplication Properties expired when the source application shut down?
cppdashboard.dev/r/2026/11/why-did-it-seem-that-the-entries-in-the-coreapplication-propThis article discusses the behavior of entries in the CoreApplication.Properties and clarifies misconceptions about their expiration related to the lifetime of the apartment that added them. It explains the role of agile wrappers in COM object management.
From the article
Last time, we confirmed that entries in the CoreApplication. Properties are not tied to the lifetime of the apartment that added them . But Luca claimed that they did. Where did this claim come from?
While it’s true that the entries don’t expire, the objects might expire.
If the object you put into the CoreApplication. Properties are not agile, then they must be used in the apartment that created them, and therefore when that apartment shuts down, the objects become unusable.
Share this resource