DLL:
1)it has versioning
2)it is not self executable
3)it runs in application process memory
4)it has no entry point
5)it is reusable
6)Out Process Server
Exe:
1)it is self executable
2)it has no versioning
3)it runs in own memory
4)it have main function(Entry point)
5)it is self executable
6) In Process Server
.............................................................................................................
a) In shortcut .exe is an executable file & DLL (Dynamic Link Library) is not an executable file.
b) DLL is an in-process server while exe is a out-process server it means DLL works within the thread of application, while exe works after creating its own thread.
c) If DLL fails the application became fail if exe fails DLL doesn't fail because it's not work within the thread of application but the part of the exe could not work properly.
d) An EXE is visible to the system as a regular Win32 executable. Its entry point refers to a small loader, which initializes the .NET runtime and tells it to load and execute the assembly contained in the EXE. A DLL is visible to the system as a Win32 DLL but most likely without any entry points. The .NET runtime stores information about the contained assembly in its own header.
0 comments:
Post a Comment