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

.net allows which inheritence

6 Answers   AG Technologies, Samcomm,


What is true about application service provider?

0 Answers  


What is the difference between session object and application object?

0 Answers  


how we use web services

2 Answers  


What are various authentication mechanisms in ASP.NET ?

4 Answers   TCS,






what is diffrent between asp & asp.net

2 Answers  


What will happen if the server confugration file and the application confugration file have different values for sassion state ASP.NET?

0 Answers   HCL,


Explain the main function of url routing system in asp.net mvc? : asp.net mvc

0 Answers  


What is difference in .net 1.1 and .net 2.0?

0 Answers  


What does mean by a neutral culture?

0 Answers   MindCracker,


What is session and cookies in asp.net?

0 Answers  


if you disable view state of a textbox will it maintain data during postbacks.if yes reason

9 Answers   FactorH, Jindal, Oxi Infotech,


Categories