Statically Linked to MFC
Pros
- It own private copy of MFC library code.
- No need distribute the shared DLLs Mfcxx.dll and Msvcrxx.dll
Cons
- Build static linked DLL takes more time. Becuase, it should link with MFC libraries.
- It takes more disk space and memory usage
Dynamically Linked to MFC
Pros
- Minimize memory usage
- Load only once and increment the reference count for each call. The new process mapped the memory with already loaded DLL.
- Save disk space
Cons
- distribute the shared DLLs Mfcxx.dll and Msvcrxx.dll ( Should not distribute debug version )