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

What base class do all Web Forms inherit from?

2 Answers   Siebel Systems,


How can we apply themes to an asp.net application?

0 Answers  


Difference between HTML control and Web Server Control?

4 Answers  


To bind columns manually which tags do you need to add within the asp:datagrid ?

0 Answers   Siebel,


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

0 Answers  






What are the advantages of using sql stored procedures instead of adhoc sql queries in an asp.net web application?

0 Answers  


What is the difference between session and application?

0 Answers  


Define static constructor?

0 Answers  


Where is the view state data stored?

0 Answers  


What is difference between asp state management and asp.net state management? How can we pass info between 2 asp.net pages?

0 Answers  


What is server objects in asp.net?

5 Answers  


What's the difference between Page.RegisterClientScriptBlock and Page.RegisterStartupScript ?

1 Answers  


Categories