| |
|
What is the difference between a DLL and an EXE?
In .NET, an assembly may become a DLL or an EXE. Yet, there is a major
underlying difference between the two.
An EXE is an executable file, that may run on its own. Its independant. Where as
a DLL is a Dynamic Link Library, that binds to an exe, or another DLL at runtime.
A DLL has an exposed interface, through which members of the assembly may be accessed
by those objects that require it.
A DLL runs in tandem with the application space in memory, as the application
references it. Whereas an EXE is independant, and runs as an independant process.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
| |