What is the difference between an EXE and a DLL?

Answers were Sorted based on User's Feedback



What is the difference between an EXE and a DLL?..

Answer / manoj

Exe file is the executable(machine language) file which is
generated after successful compilation and linking process
of a programing language.

these files are especially created under dos Environment
like ms-dos this file is treated as the exteranal command
and whenever we execute this file the dos gives control to
the exe file and lets it to do what ever has been
instructed in this file.

in contrast the .DLL file usually comes under the 32-Bit
world like windows which contains all the API(Application
program interface)funtions which are called during
execution of a program.

Is This Answer Correct ?    11 Yes 0 No

What is the difference between an EXE and a DLL?..

Answer / kirti

You can create an objects of Dll but not of the EXE.

Dll is an In-Process Component whereas EXE is an OUt-Process Component.

Exe is for single use whereas you can use Dll for multiple use.

Exe can be started as standalone where dll cannot be.

Is This Answer Correct ?    0 Yes 0 No

What is the difference between an EXE and a DLL?..

Answer / rohit passi

1.In Exe Main() exit and in dll no Main().
2.Exe can compie and execute and dll can compile only.
3.Exe User Interface and dll is not user interface.
4.Exe is not secure and dll is secure.

From rht.passi@gmail.com

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More Programming Languages AllOther Interview Questions

Differevce between arrays and array builders?

0 Answers  


5. How do you round the addition or subtraction of two numbers in assembler?

0 Answers   Wipro,


how do u handle table control inbdc explain the process in steps iwant the answer in urgent please forward this even i know how to explain there

0 Answers   Synopsis,


hi i am jyoti i have done sap training in sd and master degree in economics have 2 year exp as enduser in (gdms)and 1 year as sd consultant.as contract basis now what i can do for getting job in it industry

0 Answers   HCL,


Create a class TicTacToe that will enable you to write a complete program to play the game of Tic-Tac-Toe. The class contains as private data a 3- by-3 double array of integers. The constructor should initialize the empty board to all zeros. Allow two human players. Wherever the first player moves, place a 1 in the specified square; place a 2 wherever the second player moves. Each move must be to an empty square. After each move determine whether the game has been won and whether the game is a draw. If you feel ambitious, modify your program so that the computer makes the moves for one of the players automatically. Also, allow the player to specify whether he or she wants to go first or second. If you feel exceptionally ambitious, develop a program that will play three-dimensional Tic-Tac-Toe on a 4-by-4-by-4

2 Answers  






what is the difference between uservariables and systemvariables (in Environmental variables)???

0 Answers  


What is the effect of the OPTIONS statement ERRORS=1?

3 Answers   QSG, Quintiles, SAS,


how does database connection using ADO.NET?

0 Answers  


code for connection from windows forms to sql server

0 Answers   ME,


In project we have Documentation phase also,in that what is micro and macro designing?

0 Answers  


SAS using companies in INDIA

29 Answers   Bank Of America, Cap Gemini, Hyundai, IBM, KO, Sristek, TCS, Wipro, WNS,


what is different betweet class and interface in java?

2 Answers   Microsoft, Sun Microsystems,


Categories