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 |
What is a virtual memory? : Dot net architecture
Explain about common language infrastructure?
What is textbox control of .net mobile? : Microsoft dot net mobile
When do I need to use gc.keepalive?
What's new in the .net 2.0 class library?
What are different types that a variable can be defined and their scopes ?
What is WPF and WCF?
Explain the race around condition? How can it be overcome? : Dot net architecture
4. Wcf- what Asych and Sych call and how that works
can any one urls for learning .net(which is written in simple english)
What exactly is being serialized when you perform serialization? scope in C# ?
.net platform independent or dependent?