Skip to content

Confused about DLL

tomy

Asked Aug 5, 2008, 8:47 AM EDT1 answer
Share
LinkedInX
I've tried to read about DLL on the web, but I'm still confused about the whole concept of them. So from what I understand, they're used to share codes between one to many programs? So what's the difference between DLL and actual code files?

So if I wrote a code in C#, I could save it as a DLL and share that among other programs? How is a DLL different than a EXE?

Any help would be appreciated, thank you.

1 Answer

Know the answer? Post it. Somebody with the same question will find it here.

  • Mahesh Chand
    0

    A DDL is used to consume by other DLLs and EXEs. So if you write a DLLwith some common code, any application (EXE) or other DLLs can consume that. For example, if you are an expert in bezier curves and you wrote some unique logic to generate them and want to sell as a component so other application developers can use that in their application, you can build that as a DLL. If you build that as an EXE, no body will be able to use it.

    Read more here: http://msdn.microsoft.com/en-us/library/ms682589.aspx

    0