Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

what is the differance between .DLL & .EXE

Answer Posted / suman modak

An ActiveX Dll runs is an in process server running in the
same memory space as the client process.

An ActiveX Exe is an out of process server which runs in
it's own separate memory space.

Question 2 is the same as question 1.

Advantages of ActiveX Dll
-------------------------
1) An in-process component shares its client’s address
space, so property and method calls don’t have to be
marshaled. This results in much faster performance.

Disadvantages of ActiveX Dll
----------------------------
1) If an unhandled error occurs it will cause the client
process to stop operating.

Advantages of ActiveX Exe
-------------------------
1) The component can run as a standalone desktop
application, like Microsoft Excel or Microsoft Word, in
addition to providing objects.
2) The component can process requests on an independent
thread of execution, notifying the client of task
completion using events or asynchronous call-backs. This
frees the client to respond to the user.
3)If an error occurs the client processes can continue to
operate.

Disadvantages of ActiveX Exe
----------------------------
1) Generally slower than an ActiveX dll alternative.

Rahul Mehta (MCAD)
Systime India

DLL is a dynamic link library file that we can directly
execute. if we want to use dll then we need to add refence
in our progrma in Dll there NO Main function. EXE file is
excutable file that we can directly run.In exe It must be
one statr point mena Main function.

A dll use same memory space of client while running.
An exe use own memory space separate from client while
running.
A dll is much faster.
A exe can be run as standalone program.

DLL - inprocess
DLL runs along with the application which is sharing that
particular DLL. If we interrupt that application that DLL
also affected which in turn affects all onter applications
which is using that application.

EXE - outprocess
EXE runs seperately.

DLL isa inprocess component i.e. it runs in the same
process space (means sever n dll both share the same
process space) whereas exe is a outof process component
means server n exe runs in its own process space.

* In case of dll any error in dll causes makes the
application off whereas in case of exe it cann't

*dll is faster than exe

DLL is a dependent type of program. Every DLL has an entry
point method and Dll gets loaded only when a call to it is
made from any application for the first time.

Exe is a self-running type of program.

1)
DLL: Can not run independently. Runs with EXE.
EXE: Can run independently.


2)
DLL: Takes up space in memory in processess' memory space,
DLL is in-process component.
EXE: Takes up space in memory separately, EXE is Out-
process.


3)
DLL: Runs faster than exe.
EXE: Slower than DLL.

4)
DLL: error causes off the application.
EXE: can't.

5)
DLL: Doesn't have own main entry point, handled by other
method(s).
EXE: Have own entry point, handled by OS.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Please brief not about xsd,xslt & xml?

990


What tags do you need to add within the asp:datagrid tags to bind columns manually? How?

1024


What is session management in web application?

1065


What are the major built-in objects in ASP.NET?

1143


How to Separate background image and front image from original picture....

1035


Is asp.net free?

1042


Which dll handles the request of .aspx page?

1006


What are uri parameters?

1078


Can you explain how ASP.NET application life cycle and page life cycle events fire?

1067


What is server side session?

1067


What can you do with asp.net?

976


Asp pages that worked pefectly on windows 2000 server and iis 5.0 do not work on windows 2003 server with iis 6.0. Asp.net pages work fine. Why?

1036


What is asp.net caching?

1054


What are the benefits of Razor View?

989


Will the asp.net validators run in server side or client side? How do you do client-side validation in .net? How to disable validator control by client side javascript?

1112