Hacker News new | ask | show | jobs
by pjmlp 1808 days ago
First of all it depends if it is a old style DLLs, or one that contains COM, as COM adds more execution models.

Additionally, applications can be packaged as DLLs and executed with help of rundll, after being loaded.

Manifests that control the loading process, besides the default way have been added in XP,

https://docs.microsoft.com/en-us/windows/win32/sbscs/applica...

Versioning in DLLs have been sorted out with SxS manifests, also in XP,

https://docs.microsoft.com/en-us/windows/win32/sbscs/isolate...

Previously versioning was sorted with VERSION resource scripts and expecting that developers actually cared about them, which most did not, hence the way .NET does versioning, and the latter improvements with manifest files for the dynamic linker.

https://docs.microsoft.com/en-us/windows/win32/menurc/using-...