- DLL directly execute. if we want to use dll then we need to add refence in our progrma in Dll there no main function.
- A DLL use same memory space of client while running.
- A DLL is much faster.
- DLL is a dependent type of program. Every DLL has an entry point method and DLL gets loaded only when a call to it is made from any application for the first time.
- Inprocess - DLL runs along with the application which is sharing that particular DLL. If we interrupt that application that DLL also affected which in turn affects all onter applications which is using that application.
- error causes off the application.
- Doesn't have own main entry point, handled by other method(s).
EXE
- EXE file is excutable file that we can directly run.
- An exe use own memory space separate from client while running.
- A exe can be run as standalone program.
- Have own entry point, handled by OS.
- outprocess - runs seperately
