Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET
hi,
what is the difference between dll and exe
I need it point wise and easier to understanding
Posted 14-Sep-11 21:05pm
Edited 14-Sep-11 21:10pm
v4
Comments
RaviRanjankr at 15-Sep-11 3:09am
   
please avoid using Short form of words. always try to write complete word in your question. :)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 4

hi,
   DLL:
1)it has versioning
2)it is not self executable
3)it runs in application process memory
4)it has no entry point
5)it is reusable
6)Out Process Server
 
Exe:
1)it is self executable
2)it has no versioning
3)it runs in own memory
4)it have main function(Entry point)
5)it is self executable
6) In Process Server
 
Note:DLL is Superset of Exe
  Permalink  
Comments
RaviRanjankr at 15-Sep-11 3:52am
   
Nice Answer, My 5+
Vicky R at 17-Oct-13 4:42am
   
Hi Satya Praveen In your answer, It is given as "Exe is in process server and DLL is out-of process server". But on referring MSDN website it is given as opposite to your answer Just check with it. http://msdn.microsoft.com/en-us/library/aa242102(v=vs.60).aspx
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Google[^] it.
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 2

A exe file contails entry point of program but A dll not.
exe's are self executed, Dll cannot be executed on their own.
for more details search on google there is lot of results.
  Permalink  
v2
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

Both exe and dll's are assemblies where an exe is an executible program and A dll (Dynamic Link Library) is a file that can be loaded and executed by programs dynamically.
have a look there[^] to get plenty of article.
Some useful link
Link1-[Difference between DLL and Exe][^]
LInk2-[Difference Between DLL and Exe][^]
Link3-[.NET Framework Assemblies][^]
Link4-[Overview of Assemblies][^]
  Permalink  
Comments
thiyagarajan.rk at 15-Sep-11 3:25am
   
Nice....
RaviRanjankr at 15-Sep-11 3:52am
   
Thanks :)
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 5

Ans :-
DLL:
1)it has versioning
2)it is not self executable
3)it runs in application process memory
4)it has no entry point
5)it is reusable
 
Exe:
1)it is self executable
2)it has no versioning
3)it runs in own memory
4)it have main function(Entry point)
5)it is self executable
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 6

DLL
 
Reusable component.
Will not have a main(entry point function).
 

EXE:
EXECUTABLE.
we can run a exe ,
every application is an exe.
 
example :
 
In visualstudio if we create a application as class library then the output will be dll and if we start a project then the output will be a EXE.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Shai Vashdi 319
1 OriginalGriff 280
2 Sergey Alexandrovich Kryukov 250
3 Peter Leow 171
4 Abhinav S 168
0 Sergey Alexandrovich Kryukov 8,979
1 OriginalGriff 5,280
2 Peter Leow 4,010
3 Maciej Los 3,535
4 Abhinav S 3,263


Advertise | Privacy | Mobile
Web04 | 2.8.140415.2 | Last Updated 28 Mar 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid