Ultima, last tread too long...

  • Thread starter Thread starter Dark-Raver
  • Start date Start date
Status
Not open for further replies.
this post above was posted by me (mirex). Hmmm, why was I anonymous ..?
 
DLL's serve a number of purposes ... one, you might not have the original source code. For example, I use the FMOD library for sound in the Remake engine; unless you're willing to pay for it, DLL's is all you get.

Secondly, it DOES make updating programs easier and smaller. For example, have you noticed that a lot of programs written in VC (Visual C++) are really small - less than 100KB? That's because they use the VC DLL's to do a lot of stuff, which just about everyone has. Same applies to VB programs. You *can* do it with Delphi, but not everyone has the Delphi libraries, plus there are reasons not to (you can patch the libraries yourself, for a start).

Also, updating is better for another reason; say FMOD releases a new version that supports your super new sound card. Even if the person who wrote their original program (that uses FMOD) isn't updating anymore, you can still use the newer FMOD version since it's in a separate DLL...at least, you can try it.

DLL's *are* a good idea. Not all the time, but they do have nice advantages.
 
I agree with Fice (since he's more skilled than me)(okay, and most of you, too...).

But let's not only talk 'bout these standard Runtime DLLs needed - let's talk 'bout those self-programmed DLLs... Let's take my JSGReg32.dll for example.

For those who wonder what this DLL does: It's a package of functions for Win Registry access. I'm not sure how Reg Access goes in C++/Delphi/Anything Else, but in VB you've got to declare a lot of Win API crap, play around with handles, pointers, ... So I've created a DLL which manages all that crap, so you just have to call a function 'WriteString(SubKey As String, Name As String, Value As String)' - no handles & co...

Okay, of course, I could implement all these functions (8+ pages of source) in every of my apps - but that's not practical... so *somethimes* it's better to use DLLs.

 - Alhexx
 
Another way to put it is it's like using a javascript file to create a table or the top of a webpage. (I'm actually doing this.)

For v2 of my page, I'm using a .js file, which is just a text file with javascript commands, as the top of most my pages. The file has a few detection commands, but it's mostly a document.write function. It writes the top half of my main pages, but since all the pages are reading from a single file, it keeps my pages quite a bit smaller than if I put the code to the top of the pages at the top of each page.
That's just another way of explaining what Alhexx just said, so if you understood either of us, you should be able to understand both of us.

Sephiroth 3D

"One who seeks knowledge from another person, doesn't learn half as much as the one who seeks knowledge for himself." - Vincent Valentine, The Sephiroth Chronicals, Book 1: Resurrection

[email protected]  
Sephiroth 3D's Final Fantasy (Currently Offline)
Sephiroth 3D's Promised Land
 
Hehe...that's why we're called a TEAM - and I guess we're a good one :grin:

 - Alhexx
 
For those who are still interested:

Ultima 0.27 (no more Betas) is out!


 - Alhexx
 
Status
Not open for further replies.
Back
Top