Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Why do we still have DLLs?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk
View previous topic :: View next topic  
Author Message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Tue Apr 21, 2009 5:08 pm    Post subject: Why do we still have DLLs? Reply with quote

Quote:

Microsoft DLLs were created to solve problems existing under batch systems in the 1960s. As operating systems, including Windows, have moved away from fixed memory models to paged virtual memory management systems, the problem DLLs were invented to solve have disappeared.

DLLs create non-obvious links between a program and code fragment "somewhere" in the system: even simple programs may not be totally contained in its .exe file, but be spread out over, and be dependent on, multiple DLLs. The exact location and depth of those dependencies may be difficult or impossible to determine. Since DLLs can call other DLLs, the chain of complexity can extend to any depth.

Second, DLLs are subject to problems caused by missing DLLs and conflicts between DLL versions, the so-called "DLL hell". This is such a significant problem for Windows applications that even Microsoft is known to use the term.[1]

Critics of the dynamic linking model argue that it is the wrong model for paged memory managed systems, and that static linking is better and more secure. DLLs, it is argued, degrade the isolation between processes that modern operating systems provide, consequently violating the security of the entire system.


Makes me wonder why we still use them?

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25796
Location: The netherlands

PostPosted: Tue Apr 21, 2009 5:16 pm    Post subject: Reply with quote

It makes updating programs easier.
Instead of having to download a 400MB exe, you can download a 500kb dll (e.g windows update often does this)

And it saves diskspace (multiple programs can make use of the same library, e.g directx, opengl, physx, sdl, etc...)

Also, it's not just windows, linux as well. (There the library hell is even worse than on windows, most programs use other libraries which most of the time aren't even installed)

As for the 'security' reason: fuck it

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Tue Apr 21, 2009 6:13 pm    Post subject: Reply with quote

Thanks for the explanation. And I didn't really care much about the security reason either.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Mon May 04, 2009 10:44 am    Post subject: Reply with quote

http://msdn.microsoft.com/en-us/library/ms811694.aspx
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites