11. diff b/w Dll and Exe

Answers were Sorted based on User's Feedback



11. diff b/w Dll and Exe..

Answer / yasmeen

1.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.

Is This Answer Correct ?    5 Yes 0 No

11. diff b/w Dll and Exe..

Answer / vivek

DLL does not have an entry point
EXE files have entry point

Is This Answer Correct ?    4 Yes 0 No

11. diff b/w Dll and Exe..

Answer / manindra agrawal

The Basic difference between DLL and EXE is that
DLL is not self executable
and EXE files are the self Executables
Assembly in the .NET is in the form of DLL and EXE

Is This Answer Correct ?    3 Yes 1 No

11. diff b/w Dll and Exe..

Answer / manoj kumar

Exe file is a self executable file, which contains the main function, But dll(dynamic link library) is a library file which cant execute independently, it is a class file which do not have any main function

Is This Answer Correct ?    2 Yes 0 No

11. diff b/w Dll and Exe..

Answer / megha saxena

Difference between DLL and EXE

a.exe - a program with a single main entry point E32Main().
when the system launches a new .exe,it first creates new
process. The entry point is then called in the context of
the main thread of that process.


A dll - is a library of program code with potentially many
entry points. The system loads a DLL into the context of an
existing thread.


Both of these are executables. There are two types of dll

1) a shared dll which provides a fixed api that can be used
by one or more programs.when the system loads the
executables at runtime the required shared dll are loaded
automatically.

2) polymorphic dll - which implements an abstract api such
as a printer drives etc.it usually have a single entry point
and which allocates and contructs a derived class or some
base class associated with the dll, and they are usually
loaded explicitly by the program that requires it.

Is This Answer Correct ?    1 Yes 0 No

11. diff b/w Dll and Exe..

Answer / swap

dll can be instantiated whereas exe can not be instantiated

Is This Answer Correct ?    0 Yes 1 No

Post New Answer

More Dot Net AllOther Interview Questions

how to display a message box in the Application?

2 Answers   Six Sigma,


What is the use of delegates

2 Answers  


Is dim fs as filestreamobject is a managed code? : Dot net architecture

0 Answers  


what is a tool tip

2 Answers   Six Sigma,


Define a virtual memory? : Dot net architecture

0 Answers  






Explain <mobile:link> element .net mobile with example? : Microsoft dot net mobile

0 Answers  


Explain cache? : Dot net architecture

0 Answers  


how we can fire event in databound column in datagrid without using button?

0 Answers   Tech Mahindra,


What is password attribute of the textbox control of .net mobile? : Microsoft dot net mobile

0 Answers  


What is the difference between .net mobile pages and ordinary .net web page? : Microsoft dot net mobile

0 Answers  


Is .NET really support fully OOP Concept?

1 Answers  


What is the importance of updatepanel control?

0 Answers  


Categories