What is the difference between an EXE and a DLL?

Posted by Saranya Boopathi under ASP.NET on 6/11/2013 | Points: 10 | Views : 26265 | Status : [Member] | Replies : 2
What is the difference between an EXE and a DLL?

Saranya Boopathi


Responses

Posted by: Raj.Trivedi on: 6/11/2013 [Member] [MVP] Starter | Points: 25

Up
0
Down
Hello

EXE is an executable file which runs your program in windows platform

EXE is generated when you build an application and can be directly used for running an program.

DLL is dynamic link library as the name suggests it is library which hold code which is encapsulated and cannot be seen.If dynamically links to code in it.

To hide source code we make dlls for the code.

Regard's
Raj.Trivedi
"Sharing is Caring"
Please mark as answer if your Query is resolved

Saranya Boopathi, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Allemahesh on: 6/14/2013 [Member] [MVP] Silver | Points: 25

Up
0
Down
The main different between .exe and .ddl is as follows:-

.Exe
1.These are outbound file.
2.Only one .exe file exists per application.
3. .Exe cannot be shared with other applications.

.dll
1.These are inbund file .
2.Many .dll files may exists in one application.
3. .dll can be shared with other applications.

Hope this will help you to clear your concept.

Saranya Boopathi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response