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 22:05pm
Edited 14-Sep-11 22: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
0 Sergey Alexandrovich Kryukov 575
1 Kornfeld Eliyahu Peter 409
2 Maciej Los 369
3 DamithSL 196
4 OriginalGriff 188
0 OriginalGriff 6,353
1 DamithSL 4,854
2 Maciej Los 4,476
3 Kornfeld Eliyahu Peter 4,058
4 Sergey Alexandrovich Kryukov 3,917


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

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100