English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-11-16 16:20:59 · 6 answers · asked by Anita G 1 in Computers & Internet Programming & Design

6 answers

Consider exe's to be an actual application whereas DLLs are support files for the application that're often shared by other applications.

2006-11-16 16:26:10 · answer #1 · answered by bogus_dude 6 · 0 0

First of all you should understand the basic of dll and exe.

You can consider DLL as a bunch of compiled libarary functions which can be called by any programming language which support com objects. DLL can not be excuted on its own, it do not have any interface it has to be run through some other program.

On the other side exe is standlone program which can have some UI, exe is able to run on its own memory space.

You can say dll are better than exe because you can call the dll function from any external program written in a different langauge and the function can do processing and return the value to the calling porgram.

On the other hand you can execute an exe from the other program but you can not have the return values in the calling program.

2006-11-17 05:19:47 · answer #2 · answered by mishravijay 2 · 0 0

DLL's aren't standalone applications. If you want to create an application, you have to build an executable... .exe

DLL's are basically libraries that are loaded at run time. If you want have portions of a program that you use in numerous applications, you can package them as a DLL and link them at run-time. This has the benefit of making smaller .exe's as you don't have to package the repeated code with each application.

2006-11-17 00:28:43 · answer #3 · answered by Deirdre H 7 · 0 0

use dll's if you have a bunch of common functions/routines that you may want to reuse (put them in the dll)

2006-11-17 00:27:30 · answer #4 · answered by Nick F 6 · 0 0

EXE IS OUT PROCESS SO IT TAKE SEPRATE MEMORY LOCATION FOR EXECUTION AND GIVE OUTPUT

DLL IS IN PROCESS IS SHARE WITHIN YOUR MAIN EXE RUNNING LOCATION SO IT NO NEED SEPRATE MEMORY LOCATION FOR EXECUTION

AND ONE MORE THING DLL CAN USE WITH IN EXE SO WE MAKE GLOBAL FUNCTION AS DLL IS BETTER
IT AVOIDE RECODING

2006-11-17 00:40:44 · answer #5 · answered by senthil k 1 · 0 0

DLL's compile independently whereas .exe are dependent. dll's are outprocess servers and exe's are inprocess servers

2006-11-17 00:28:02 · answer #6 · answered by Suresh M 1 · 0 0

fedest.com, questions and answers