what is the differance between .DLL & .EXE
Answers were Sorted based on User's Feedback
Answer / suresh
.DLL .EXE
1. It can be reused. 1. It cannot be reused
2. It can be versioned. 2. It cannot be versioned.
3. It is not self executable 3. It is self executable.
4. It doesn't have main 4. It will have main
function. function.
| Is This Answer Correct ? | 33 Yes | 3 No |
No,It is not like that.
The main difference is that .exe files are executed in its
own address space whereas .dll files requires address space
to run
| Is This Answer Correct ? | 17 Yes | 5 No |
Answer / nagendra
Both r executable files,.dll run in application process
memory,but .exe run in its own process memory.
| Is This Answer Correct ? | 11 Yes | 3 No |
both are the executable files.But main difference is
that .exe can run independantly.But .dll can be part of
the .exe.
So dll is the superset of exe.
| Is This Answer Correct ? | 14 Yes | 8 No |
Answer / s.nandha kumar
*DLL does not have Main Method so that it cannot be executable
where .EXE has Main Method which can be executable.
*DLL can br reused 'n' number of times
where .EXE cannot be resued
| Is This Answer Correct ? | 6 Yes | 0 No |
Answer / kalyan
both r executable but,.dll files can b reused in the
application.where as .EXE files cannot be reused
| Is This Answer Correct ? | 9 Yes | 4 No |
Answer / suman modak
An ActiveX Dll runs is an in process server running in the
same memory space as the client process.
An ActiveX Exe is an out of process server which runs in
it's own separate memory space.
Question 2 is the same as question 1.
Advantages of ActiveX Dll
-------------------------
1) An in-process component shares its client’s address
space, so property and method calls don’t have to be
marshaled. This results in much faster performance.
Disadvantages of ActiveX Dll
----------------------------
1) If an unhandled error occurs it will cause the client
process to stop operating.
Advantages of ActiveX Exe
-------------------------
1) The component can run as a standalone desktop
application, like Microsoft Excel or Microsoft Word, in
addition to providing objects.
2) The component can process requests on an independent
thread of execution, notifying the client of task
completion using events or asynchronous call-backs. This
frees the client to respond to the user.
3)If an error occurs the client processes can continue to
operate.
Disadvantages of ActiveX Exe
----------------------------
1) Generally slower than an ActiveX dll alternative.
Rahul Mehta (MCAD)
Systime India
DLL is a dynamic link library file that we can directly
execute. if we want to use dll then we need to add refence
in our progrma in Dll there NO Main function. EXE file is
excutable file that we can directly run.In exe It must be
one statr point mena Main function.
A dll use same memory space of client while running.
An exe use own memory space separate from client while
running.
A dll is much faster.
A exe can be run as standalone program.
DLL - inprocess
DLL runs along with the application which is sharing that
particular DLL. If we interrupt that application that DLL
also affected which in turn affects all onter applications
which is using that application.
EXE - outprocess
EXE runs seperately.
DLL isa inprocess component i.e. it runs in the same
process space (means sever n dll both share the same
process space) whereas exe is a outof process component
means server n exe runs in its own process space.
* In case of dll any error in dll causes makes the
application off whereas in case of exe it cann't
*dll is faster than exe
DLL is a dependent type of program. Every DLL has an entry
point method and Dll gets loaded only when a call to it is
made from any application for the first time.
Exe is a self-running type of program.
1)
DLL: Can not run independently. Runs with EXE.
EXE: Can run independently.
2)
DLL: Takes up space in memory in processess' memory space,
DLL is in-process component.
EXE: Takes up space in memory separately, EXE is Out-
process.
3)
DLL: Runs faster than exe.
EXE: Slower than DLL.
4)
DLL: error causes off the application.
EXE: can't.
5)
DLL: Doesn't have own main entry point, handled by other
method(s).
EXE: Have own entry point, handled by OS.
| Is This Answer Correct ? | 7 Yes | 2 No |
.EXE is an extension used for executable files while DLL is the extension for a dynamic link library.
2.An EXE file can be run independently while a DLL is used by other applications.
3.An EXE file defines an entry point while a DLL does not.
4.A DLL file can be reused by other applications while an EXE cannot.
5.A DLL would share the same process and memory space of the calling application while an EXE creates its separate process and memory space.
Read more: Difference Between EXE and DLL | Difference Between http://www.differencebetween.net/technology/difference-between-exe-and-dll/#ixzz57iuiMQAG
| Is This Answer Correct ? | 0 Yes | 0 No |
Answer / kalyan
both r executable but,.dll files can b reused in the
application.where as .EXE files cannot be reused
| Is This Answer Correct ? | 2 Yes | 6 No |
Answer / gurumoorthy.v
.Dll is the Source code of ur deployed application.
.Exe is the presentation of ur frentend forms.
When u deployed ur application at that time the .Dll,.EXE
files will create
| Is This Answer Correct ? | 5 Yes | 15 No |
Types of instancing properties and explain each. Tell the difference between multiuse,singleuse and globalmultiuse and which is default ?
Turn Off ASP Session State on an IIS 5.1 Web Site
How to integrate angular 8 with asp.net mvc 5? : Asp.Net MVC
Describe briefly what is the role of IIS on an ASP.NET application? What does it for the same application?
0 Answers InfoAxon Technologies,
Which two properties are there on every validation control?
Are there any resources for drop-in replacements for the default css that comes with the ASP.NET Website template?
How do u optimize a query in asp.net?
How to store a dataset in a viewstate?
and can u telme how to explain about our job profile if i have 3years of it experiance in dotnet domain and where to start and where to end , and what shoul i tel and what not(can i mention my education ,and family details,......)i am confusiong a lot. can i ask one with your permision, if u have question that u u went tcs interview as 3+years exp so he/she asked tel me about your profile how can u tel and where to stop. please help me as simple as possible i am facing lot in this..............plese can anyone help me i am awaiting for your reply.
where the stored procedure are written in business logic or data acess layer?
Explain the concept of MVC Scaffolding?
Which of the following .NET framework supports Web API?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)