11. diff b/w Dll and Exe
Answers were Sorted based on User's Feedback
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 |
Answer / vivek
DLL does not have an entry point
EXE files have entry point
| Is This Answer Correct ? | 4 Yes | 0 No |
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 |
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 |
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 |
Answer / swap
dll can be instantiated whereas exe can not be instantiated
| Is This Answer Correct ? | 0 Yes | 1 No |
Define a managed code? : Dot net architecture
difference between page init an page load
.Net Frame work arch?
What are the options provived by vss to the user? how it will help us while delevoping application?
Are there any third party logging components available?
What is the difference between a web custom control,web user control and a web part.
Define cache coherency and how is it eliminated? : Dot net architecture
can Array contains different datatypes ?
How do I know when my thread pool work item has completed?
what is the use of SQL command builder class in C#.net? Explain how can we execute a stored procedure using C#.Net? What is the difference between .DLL and .EXE?
what is the difference between asp and asp.net
What is the purpose of Treeview control?