Of exe's n dll's

Status
Not open for further replies.

plsoft

Journeyman
Could u guys pls tell me the difference (preferably In terms of their attributes) b/w the following file extentions:

1. .exe & .dll files

2. .exe & .com (not the dot com for URL's) files.

Thank u all in advance
 

speedyguy

Cyborg Agent
in short....dll r system files, exe r executable files (gen used for applications)

and, com basically has the system commands like boot, startup etc....not sure abt this...some more technocrats may help...

cheers
 

anandk

Distinguished Member
all here *www.webopedia.com/
*www.webopedia.com/TERM/E/EXE_file.html
*www.webopedia.com/TERM/D/DLL.html
and more...
 

Official Techie

In the zone
dll are unlike exe(executable files )are not of any seen use though they both are created in languages u can take as its data hiding in c++
 
OP
plsoft

plsoft

Journeyman
Actually its a question my teacher asked, i have seen the explainations in wikipedia but i can't really understand them. I want someone to explain them from the basic structure, n in a simple manner. Thanks again guys.
 

sakumar79

Technomancer
A DLL is a dynamically Linked Library file... If you are not familiar with programming, a Library file will typically contain procedures for doing certain specific task... For example, a library file for trignometry may contain procedure for finding sine, cosine, etc... a library file for File Dialog will contain methods for opening a file dialog and asking where to save or open a file, etc...

The DLL can be called upon by other programs and their procedures can be accessed through them... Windows has a set of predefined DLLs and through Windows API programming, you can access the functionality provided by these DLLs without having to write the full code again...

DLLs thus provide reusability of code by various programs...

An EXE is an executable file that can be executed from Windows or DOS. A COM file is also an executable file but there are some important differences..To oversimplify: a .COM file is a direct image of how the program will
look in main memory, and a .EXE file will undergo some further
relocation when it is run (and so it begins with a relocation header). A
.COM file is limited to 64K for all segments combined, but a .EXE file
can have as many segments as your linker will handle and be as large as
RAM can take. More details at *www.faqs.org/faqs/msdos-programmer-faq/part2/section-9.html

Arun
 
Status
Not open for further replies.
Top Bottom