Convert dl to exe
How to Convert Dll to Exe file.
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
Upamanyu Roy Choudhury146 reputationPosted Feb 22, 2013, 7:42 PM EST
The DLL and exe are to basic units of deployment and they are treated differently by the Operating System.
EXE:
DLL:
For More Details: http://www.c-sharpcorner.com/Interviews/Answer/Answers.aspxQuestionId=1431&MajorCategoryId=1&MinorCategoryId=1 http://wiki.answers.com/Q/What_is_the_difference_between_an_EXE_and_a_DLL
Reference: http://www.dotnetspider.com/forum/34260-What-difference-between-dll-exe.aspx
Now lets come to your problem,
DLL's don't have an entry point as EXEs, so if you want to make your DLL executable you must put an entry point(Main method) in your dll i.e. it'd an EXE.
The OS treats both type of assemblies quiet differently (.dll and .exe) . You can again compile your code as a .exe so that users can use it as an application.
So copy your entire code in a new project say a windows app and make it as an .exe