PureBasic Forum
http://forums.purebasic.com/english/

This may be a strange question, but...
http://forums.purebasic.com/english/viewtopic.php?f=7&t=75976
Page 1 of 1

Author:  RichAlgeni [ Mon Sep 21, 2020 7:57 pm ]
Post subject:  This may be a strange question, but...

Why are .libs so much smaller than .dlls? At least in Windows.

For instance, Windows 10 1904, winhttp.lib is 17,924 bytes long. But winhttp.dll is 585,728 bytes long.

Author:  skywalk [ Mon Sep 21, 2020 10:09 pm ]
Post subject:  Re: This may be a strange question, but...

My dumb analogy would be dll = exe, lib = source code.

Author:  idle [ Tue Sep 22, 2020 3:28 am ]
Post subject:  Re: This may be a strange question, but...

Dll's may have the CRT and other dependencies linked into it so it can work across Visual studio versions, static libs often don't

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/