What is the difference between an EXE and a DLL?

Answers were Sorted based on User's Feedback



What is the difference between an EXE and a DLL?..

Answer / anshu sharma

An Exe is executable program,dll(dynamic link library)is a file that can be loaded and executed by the program dynamically. basically it is an external code repository for program, since usually several different program reuse the same Dll.
*)Dll has no main function but Exe has main function
*)Dll is in-process component & Exe is out process component
*)Exe is executable in its own environment but Dll need another exe to execute

Is This Answer Correct ?    3 Yes 1 No

What is the difference between an EXE and a DLL?..

Answer / vaishu

DLL(Dynamic Link Library) which contains a set of functions
that will be linked to the application dynamically at
runtime. EXE (Executable file)is a common file executing
OS,MS programs...

Is This Answer Correct ?    1 Yes 0 No

What is the difference between an EXE and a DLL?..

Answer / krishna mohan

The Anatomy of a DLL
Dynamic linking is a mechanism that links applications to
libraries at run time. The libraries remain in their own
files and are not copied into the executable files of the
applications. DLLs link to an application when the
application is executed, rather than when it is created.
DLLs may also contain links to other DLLs.

Note Many times, DLLs are placed in files with different
extensions such as .EXE, .DRV or .DLL.

Applications and DLLs can link to other DLLs automatically
if the DLL linkage is specified in the IMPORTS section of
the module definition file as part of the compile or you
can explicitly load them using the Windows LoadLibrary
function.

ece is a excutable file


By Krishanamohan From T.T.plaace 7 C.P. new delhi

Is This Answer Correct ?    1 Yes 0 No

What is the difference between an EXE and a DLL?..

Answer / kunal singh

EXE(Executable file) is used when application load.
DLL(Dynamic Link Library) is used when application loaded.

DLL is Superset of Exe. That means dll file must be need exe file.

Is This Answer Correct ?    2 Yes 2 No

What is the difference between an EXE and a DLL?..

Answer / bollasrinivasarao

EXE is executable file contains main()method and self executableand inprocessserver
Dll is dynamic link library contins no main method()and noself executable fileand outprocess server

Is This Answer Correct ?    1 Yes 1 No

What is the difference between an EXE and a DLL?..

Answer / shweta

The .exe are outbound fils
The .dll inbund files
.exe cannot share with other application
.dll can be share with other application

Is This Answer Correct ?    0 Yes 0 No

What is the difference between an EXE and a DLL?..

Answer / saiprasanna

similarities:both are three letter words...

differences:lexicographically dll is first and exe is second...

Is This Answer Correct ?    1 Yes 6 No

What is the difference between an EXE and a DLL?..

Answer / manab

The full form of EXE is executable file,AND The full form
of DLL is Data Link Library.

Is This Answer Correct ?    14 Yes 83 No

Post New Answer

More ASP.NET Interview Questions

How to write test case (Unit test plan)

1 Answers   Syntel,


What is strong name and which tool is used for this?

4 Answers   Accenture,


How do I use a proxy server when invoking a web service?

0 Answers  


Explain the flow of processing of the request? : asp.net mvc

0 Answers  


In a page there is dropdown list with the name of the cities like Bangalore,Pune,Chennai,Other and a text box that would enable the user to enter the name of the city if other is selected. How to enable validation on the text box if other is selected

1 Answers  






about view state and how validation controls will be executed on client and server

3 Answers   Wipro,


What is the significance of finalize method in .net?

0 Answers  


Does C# support static class?Is Static class be inherited by any class?

2 Answers  


Explain repository pattern in asp.net mvc? : asp.net mvc

0 Answers  


What are the best practices to follow to secure connection strings in an ASP.NET web application?

0 Answers   MCN Solutions,


How can you debug an ASP page, without touching the code?

1 Answers   Prodigy Technologies,


A Web Service Can Only Be Written In .net. Is it True??

0 Answers   Siebel Systems,


Categories