Home | Submit an interview question | Filter by category | Filter by job function | Filter by company
 
Member Information
User Id
Password
 
Forgot Password
Technology Category
.NET (1202)
Languages (103)
Database (146)
Operating System (48)
Reporting (5)
Third-Party Tools (2)
Testing (91)
OOP (75)
Web Development (40)
Design Patterns (89)
General (9)
Networking (88)
Hardware (63)
Brain Exercise (2)
Others (37)
 Our Network
.NET Heaven
C# Corner
Interview Corner
Longhorn Corner
Mindcracker
VB.NET Heaven
Home » .NET » .NET
What is the difference between an EXE and a DLL?
Posted by Sapna Malik Aug 19, 2009
Viewed : 505 times
Major Category : .NET
Minor Category : ASP.NET
Total Replies : 3
Become a Sponsor
 EDITORIAL ANSWER  
No Reply Yet
 ANSWERS BY USERS  
Puran Mehra
Aug 20, 2009

In answer to the above replies. exe can’t  be upgraded you have to replace the exe with a new one. While dll can be upgraded without replacing the entire project.

bhumi sharma
Aug 19, 2009

Ya,Anju the main difference is here-

An exe is an executible program. A DLL (Dynamic Link Library) is a file that can be loaded and executed by programs dynamically. Basically it's an external code repository for programs. Since usually several different programs reuse the same DLL instead of having that code in their own file, this dramatically reduces required storage space. A synonym for a DLL would be library.

DLL does not have main function but exe has main function

Here DLL is inprocess component, both component and consumer will share same memory and Exe is out process component, it will run in its own memory.

Nikhil Kumar
Aug 19, 2009
Ya, Anju the difference is here...

fullname of .exe is Extensible Execute File
fullname of .dll is Dynamic Link Liberary
.exe use by End User like-Client
.Dll can not use by End User.
We can Run the .exe
but we can not Run the .Dll

Nikhil Kumar
www.dotnetask.blog.co.in
  
1
World Class ASP.NET Hosting - 3 Month Free Hosting, Click Here!
 

 Hosted by MaximumASP  |  Found a broken link?  |  Contact Us  |  Terms & conditions  |  Privacy Policy  |  Advertise with us
Current Version: 2.2009.3.2
 © 1999 - 2009  Mindcracker LLC. All Rights Reserved