Go Back   PCMech Forums > Help & Discussion > Software Discussion & Support

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 10-08-2006, 12:02 PM   #1
Banned
 
Join Date: Jun 2004
Location: Pakistan
Posts: 909
Difference b/w .dll and .exe file

Hello,

Is their any difference between dll(dynamic link liberary) and exe file or both are similar?

Is dll file also an exe file?
ITlover is offline   Reply With Quote
Old 10-08-2006, 12:23 PM   #2
Member (14 bit)
Premium Member
 
TwoRails's Avatar
 
Join Date: Jan 2002
Location: The Great NorthWest
Posts: 12,594
An exe is an executable file and can run on it's own, and it may (or may not) call routines in another file. Those files are Dynamic Link Library(ies), which can not run on their own. DLLs are basically reusable code so common routines can be put in them so the different programs don't get bloated by having to contain all the shared stuff.
TwoRails is offline   Reply With Quote
Old 10-08-2006, 01:44 PM   #3
Banned
 
Join Date: Jun 2004
Location: Pakistan
Posts: 909
I understand what u r saying,but what do u mean by routines?
ITlover is offline   Reply With Quote
Old 10-08-2006, 02:18 PM   #4
Member (9 bit)
 
Join Date: Feb 2005
Posts: 392
explained quite well, here:

http://www.webopedia.com/TERM/R/routine.html
__________________
words to live by:
others don't know, I know.
others know, I know more.
others know more, I excel.
one shouldnt read this far; above, is meant as an encouragement, translated from a Chinese Proverb.
"He who angers you conquers you." : Elizabeth Kenny
alfie2 is offline   Reply With Quote
Old 10-08-2006, 03:15 PM   #5
Member (14 bit)
Premium Member
 
TwoRails's Avatar
 
Join Date: Jan 2002
Location: The Great NorthWest
Posts: 12,594
alfie2's link explains it well. Some examples are if you wrote a program that part of the program would check dates, you'd put the date-checking code into a seperate routine so it could be "called" from anywhere in the program. You might have multiple routines to check date: one for if the date is in a range, and another to check how long it's been compared to another date.

Now let's say you wrote multiple programs that each needed to check for dates. You'd put those date routines into a DLL so all programs could access them, and the programs would each be that much smaller. Another benifit of a DLL is that if you wanted to make changes, you only have to change the DLL, not the 10 programs that "call" the DLL.
TwoRails is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer Acronyms Floppyman Computer Hardware 156 06-18-2006 06:25 AM
Begining DOS help longrawker Windows Legacy Support (XP and earlier) 17 11-13-2004 11:55 AM
Outlook blocks .exe file attachments WSW Internet, Web Applications, & The Cloud 4 12-23-2003 02:22 PM
Can't find .exe file type simontompkins Windows Legacy Support (XP and earlier) 1 10-31-2003 10:35 AM
changing an email file to a .exe Al Pollock Software Discussion & Support 2 07-10-2003 10:50 AM


All times are GMT -5. The time now is 09:27 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2