Whats the difference bt. .dll extension and .exe extension files?

Showing Answers 1 - 7 of 7 Answers

nandan shah

  • Feb 18th, 2006
 

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.

indira rani

  • Feb 19th, 2006
 

       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.

  Was this answer useful?  Yes

Ashwini

  • Mar 21st, 2006
 

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.

venkatesh Kumar

  • Mar 21st, 2006
 

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

sarika

  • Aug 30th, 2006
 

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.

Pandian S

  • Mar 1st, 2007
 

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

Manish Jape

  • Mar 6th, 2007
 

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.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions