What is the difference between compiling a dynamic Library and an Executable file???? Which one is better for everyday-use-applications???
Printable View
What is the difference between compiling a dynamic Library and an Executable file???? Which one is better for everyday-use-applications???
This is purely a design issue. EXE's are out of process and run in their own thread space, therefore there is a marshalling overhead between the app and the EXE. The DLL is in process and uses the same thread space as the app that called it therefore less overhead and a bit quicker. However you need to know the intention of the dll before you can decide which one to use. If it's a sinigle pc app then go for the dll.