Tuesday, August 21, 2012

Difference between EXE and DLL

- EXE stands for Extensible Execute File and DLL stands for Dynamic Link Library. It is also called assembly in Dot Net.

- EXE gives direct output, it needs a resource and DLL does not give direct output, it always execute with any software and provide resource to that software.

- EXE is use by End User like-Client but DLL can not use by End User.

- An ActiveX Dll runs is an in process server running in the same memory space as the client process and an ActiveX Exe is an out of process server which runs in it's own separate memory space.

- EXE runs independently, whereas DLL runs within an EXE. DLL is an in-process file and EXE is an out-process file.

- A DLL would share the same process and memory space of the calling application while an EXE creates its separate process and memory space.

- And another difference is that EXEs are executable programs while DLLs are libraries loaded into a process and contain some sort of useful functionality like security, database access or something.

- EXE is mainly executable files which execute when user run the programs or click on them whereas DLL contains the function and procedure which link dynamically when needs them.

No comments:

Post a Comment