Home > DeveloperSection > Interviews > What is the difference between an EXE and a DLL?

Posted on    April-10-2014 11:25 PM

 .NET .NET 
Ratings:
 2 Answer(s)
  1428  View(s)
Rate this:

Sumit Kesarwani

Total Post:782

Points:3910
Posted on    April-10-2014 12:00 AM

DLL is an In-Process Component whereas EXE is an Out-Process Component. Exe is for single use whereas you can use DLL for multiple uses.

Exe can be started as standalone where DLL cannot be.


hanmandlu vasani

Total Post:30

Points:150
Posted on    April-11-2014 12:00 AM

DLL
1.it is a dynamic link libray
it will load and execute runtime, used as part of EXE. it can not be run independently
2.it runs in the application process memory, so it is called as in-process component
3.it can be reused in an application
4.it does not have main function or entry point

EXE
1.it is an executable file, itselsf an application, which can be run independently
2.it runs in separate process, so it is called out-process component
3.it cannot be reused an application
4.it has main function or entry point


Don't want to miss updates? Please click the below button!

Follow MindStick