|
SNo
|
DLL
|
EXE
|
|
01
|
Cannot run Individually
|
Runs Individually
|
|
02
|
Used as a supportive file for
other Applications
|
Itself an application
|
|
03
|
Does not contain an Entry Point
(No Main Function) So cannot run individually
|
A Program / Application With Point
(Main Function) So can run individually
|
|
04
|
A program / Application without
Main Creates a DLL after compilation
|
A Program / Application With Main
Creates an Exe after Compilation
|
|
05
|
OS does not create a separate
process for any DLL rather DLL will run in the same process created for
an exe
|
OS creates a separate process for
each Exe it executes
|
Note [1]: Creating a process is an overloading to the operating system
so DLL does not contain main function to reduce the burden on the OS
No comments:
Post a Comment