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

How can I write my own .NET host?

568


Explain what does the term "green architecture" mean? : Dot net architecture

558


Explain the difference between primary & secondary storage device? : Dot net architecture

517


Explain how to develop mobile applications using microsoft mobile internet toolkit (mmit) or .net mobile? : Microsoft dot net mobile

505


Explain difference between machine config vs. Web config : Dot net architecture

488






What is Opf3

593


How to prevent my .NET DLL to be decompiled?

575


Waht is Dot net Arcitecture

1961


Define the mesi? : Dot net architecture

543


What is Com Callable wrapper?when it will created?

537


Explain about validation?

611


Explain about code access security?

568


What is parallel computing?

545


What is Video Streaming in .net??

557


Explain dma? : Dot net architecture

568