Program size, linking matter, and static this()

dsimcha dsimcha at yahoo.com
Tue Dec 20 13:07:08 PST 2011


On Tuesday, 20 December 2011 at 20:51:38 UTC, Marco Leise wrote:
> Am 19.12.2011, 20:43 Uhr, schrieb Jacob Carlborg <doob at me.com>:
> On Windows I see few applications that install libraries 
> separately, unless they started on Linux or the libraries are 
> established like DirectX. In the past DLLs from newly installed 
> programs used to overwrite existing DLLs. IIRC the DLLs were 
> then checked for their versions by installers, so they are 
> never downgraded, but that still broke some applications with 
> library updates that changed the API. Starting with Vista, 
> there is the winsxs difrectory that - as I understand it - 
> keeps a copy of every version of every dll associated to the 
> programs that installed/use them.

Minor nitpick:  winsxs has been around since XP.


More information about the Digitalmars-d mailing list