Saturday, September 1, 2012

difference between DLL and EXE

DLL:
1.A DLL is a dynamic link library can not run indivdually and linked to the applications at runtime
 2.In DLL doesn't contains any entry point[No main function so can't run individually]
3.A program/application without main creates a DLL
4.OS doesn't create a seperate process for any DLL rather DLL will use the same process created for the EXE

EXE:
1.Exe will run individually.Exe does not a supportive file rather itself an application
2.It contains entry point[main function so run individually]
3.A program/application with main creates a EXE
4.OS create a seperate process for each EXE process life that excutes

No comments:

Bel