GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Microsoft  >  VB.NET
Go To First  |  Previous Question  |  Next Question 
 VB.NET  |  Question 11 of 60    Print  
whats the difference bt. .dll extension and .exe extension files?

  
Total Answers and Comments: 7 Last Update: March 06, 2007     Asked by: veera kumar 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: venkatesh Kumar
 

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



Above answer was rated as good by the following members:
Blagorodnuy, bandisomi
February 18, 2006 13:40:10   #1  
nandan shah        

RE: whats the difference bt. .dll extension and .exe e...
Yeah so dll file runs within an exe ......& 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.
 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
February 19, 2006 23:14:30   #2  
indira rani        

RE: whats the difference bt. .dll extension and .exe e...

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.


 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
March 21, 2006 03:36:50   #3  
Ashwini        

RE: whats the difference bt. .dll extension and .exe e...

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.


 
Is this answer useful? Yes | NoAnswer is useful 2   Answer is not useful 0Overall Rating: +2    
March 21, 2006 05:12:17   #4  
venkatesh Kumar        

RE: whats the difference bt. .dll extension and .exe e...

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


 
Is this answer useful? Yes | NoAnswer is useful 2   Answer is not useful 0Overall Rating: +2    
August 30, 2006 10:16:25   #5  
sarika        

RE: whats the difference bt. .dll extension and .exe e...
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.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
March 01, 2007 02:51:33   #6  
Pandian S        

RE: whats the difference bt. .dll extension and .exe e...

1. The .EXE has Entry Points But .DLL don't have any entry points.

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


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
March 06, 2007 11:49:45   #7  
Manish Jape        

RE: whats the difference bt. .dll extension and .exe e...
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.

 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape