|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#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? |
|
|
|
|
|
#2 |
|
Member (14 bit)
Premium Member
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.
|
|
|
|
|
|
#3 |
|
Banned
Join Date: Jun 2004
Location: Pakistan
Posts: 909
|
I understand what u r saying,but what do u mean by routines?
|
|
|
|
|
|
#4 |
|
Member (9 bit)
Join Date: Feb 2005
Posts: 392
|
__________________
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 |
|
|
|
|
|
#5 |
|
Member (14 bit)
Premium Member
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. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
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 |