Quote:
Originally Posted by Ostros
[You must be logged in to view images. Log in or Register.]
Here let me spell it out for you: They actually don't back you up. In fact the second link goes directly against what you said. Therefore, you can't fucking read.
|
Since you are so incapable I will extract the relevant information out of the link in a last ditch attempt to smash it into your dense skull.
Quote:
Both files are PE files. Both contain the exact same layout. A DLL is a library and therefore can not be executed. If you try to run it you'll get an error about a missing entry point. An EXE is a program that can be executed. It has an entry point. A flag inside the PE header indicates which file type it is (irrelevant of file extension). The PE header has a field where the entry point for the program resides. In DLLs it isn't used (or at least not as an entry point).
One minor difference is that in most cases DLLs have an export section where symbols are exported. EXEs should never have an export section since they aren't libraries but nothing prevents that from happening. The Win32 loader doesn't care either way.
Other than that they are identical. So, in summary, EXEs are executable programs while DLLs are libraries loaded into a process and contain some sort of useful functionality like security, database access or something.
|
I was saying that if your DLL is loaded and its DLL main function is called, it's functionally equivalent to an executable. QED, no more room for arguing, shut the fuck up, go home. If you can't make the connection at this point you are either full-blown retard or had no idea what you were talking about to start with.