11. diff b/w Dll and Exe

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the race around condition? How can it be overcome? : Dot net architecture

537


How does .net remoting work?

625


Define an interrupt? : Dot net architecture

562


How to upload in video,mp4,in .net 4.5 ..?

561


Explain the use of virtual, sealed, override, and abstract.

583






How cache is used? : Dot net architecture

506


difference between data reader and dataset

1795


how to create applications by using Visual Studio 2012?

586


How will you do windows authentication and what is the namespace?

548


Which software is used for .net programming?

534


4. Wcf- what Asych and Sych call and how that works

1453


Why only boxed types can be unboxed?

639


Explain what does the term "green architecture" mean? : .NET Architecture

530


what is polymorphism and advantage ?

1527


What is a service class?

546