Resolved Question
whats the difference bt. .dll extension and .exe extension files?
 
Details:
  asked by: dra9onzz  on: Feb 26, 2009  
 Best Answer ! ! !
xxdesireexx 's Answer  ( this answer is maked as best answer of this question at: Mar 11, 2009 )


The main difference between .dll and .exe is

.dll is the In process component where it take up the client's memory space to run. So the communication between the application and component(dll) is very fast.

.EXE is the Out of process component. It uses its own memory(not application memory) to run the component. The communication between the application and component is slow when compared to .dll



2 comments  answered on: Mar 6, 2009 
Other Answer (7)
Yeah so dll file runs within an exe ......%26 an exe file run on its on........dll---runs within another process to runexe ---runs desont require anything ....ie doesnt run inside anythingGood luckif there are alternate answers plzzz post it..i think this is the right answer.
  oxidised   answered on£ºFeb 27, 2009  4 comments

Generally software will represent in a file either .EXE or .DLL.

.EXE:- It is a self executable which is an application.

.DLL:- It is a library and we can reuse it.

  bloodlust   answered on£ºFeb 28, 2009  10 comments

DLL : It is an inprocess server and runs in the same memory space as client application. Problem with dll is if any error comes in dll whole application gets crashed.

Exe : It is an out of process server and rus as independent application in seperate memory. If error comes in exe it does not affact the client application.

  prince_jihoo   answered on£ºMar 1, 2009  0 comments

The main difference between .dll and .exe is

.dll is the In process component where it take up the client's memory space to run. So the communication between the application and component(dll) is very fast.

.EXE is the Out of process component. It uses its own memory(not application memory) to run the component. The communication between the application and component is slow when compared to .dll

  notexactly   answered on£ºMar 3, 2009  0 comments

An .exe file has a starting point i.e main( ) which is in general consider as a starting ponit
but an .dll does't contain any starting point
both contain some predefined functions.
  rykiel   answered on£ºMar 5, 2009  0 comments

1. The .EXE has Entry Points But .DLL don%26#39;t have any entry points.

2. In .Net three Entry points are there
a) Main
b) WinMain
c) DllMain

  destinynfate   answered on£ºMar 7, 2009  0 comments

Thread is also one point to be discussed.

If we call an EXE from some other application then it runs out off process and in diffrent thread.
Dll runs in the same thread as that of application.
  crazealous   answered on£ºMar 8, 2009  0 comments

Hot Questions

Contact Us - IT-Interview