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 what does the term "green architecture" mean? : Dot net architecture

545


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

1428


Explain the number or character entered through keyboard gets converted to equivalent ascii code & it get stored on ram in the binary form. What is the exact procedure. : Dot net architecture

519


Explain dotnet framework ?

515


question related to table havi colspan and row span

1786






Explain domestic architecture artifacts? : .NET Architecture

503


what is sessions and cookies take one example simple way to understand

1840


how to add list of items in a web application and win application?

1593


what is the difference between master page and content page?

2108


Explain how cache is used? : Dot net architecture

579


Can I create my own context attributes?

559


what is inheritancy where u required ?

1506


What are different types that a variable can be defined and their scopes ?

592


Define dma? : Dot net architecture

544


Use of Enable view state ? if turn off what happen ?

3800