06-06-2012, 11:27 AM
Uhm, my point about OpenGL and DirextX was just an example of the interchangability feature of DLLs, '97.
Basically, a DLL is an EXE which cannot be executed by itself. Like an EXE file, a DLL can store code, data and resources (bitmaps, icons, fonts, whatever). An EXE program can load a DLL to get access to the code, data and resources stored within, whatever they may be. I think I explained the uses of them in my other post...
Thus: Whatever you can put into an EXE can be put into a DLL, but a DLL cannot run alone but is used by other programs.
Basically, a DLL is an EXE which cannot be executed by itself. Like an EXE file, a DLL can store code, data and resources (bitmaps, icons, fonts, whatever). An EXE program can load a DLL to get access to the code, data and resources stored within, whatever they may be. I think I explained the uses of them in my other post...
Thus: Whatever you can put into an EXE can be put into a DLL, but a DLL cannot run alone but is used by other programs.