Even in one of Noplex's snippets it says you can find that code here but I cannot locate it. Anyone have a link or could send me the file to modify my version of SMAUG?
Okay, I showed Samson the use of routines from libdl rather than BFD, in essence it simpified the code he was using and I believe he's dumped BFD in favour of it now (he can comment etc on that for AFK).
Depending on your OS you may have libdl, while it is rather well spread (every major linux dist I've met has it, SunOS is where it orginated from I believe.. I'm not sure about FreeBSD etc), you may find its not there.
In the case of libdl, take a quick read of the man pages (on Linux at least) for
- dlopen
- dlsym
- dlclose
- dlerror
I personally use them in my own MUD and as I said Samson has at least nudged Alsherok in that direction.
If anything feel free to e-mail me and I'll explain how and what each function does and example implementation code (again specifically for Smaugish type things Samson may be better for this as I tend to be a bit confusing sometimes... which I'm sure some ppl can testify to )
BTW: I could snippetify explanations, but its not the sort of thing you fling into a codebase without understanding it as it CAN have REALLY SERIOUS repercussions if you don't understand whats going on, thus I prefer the explanation approach and you use the information as you will, rather than follow code and potentially make the same mistakes I make (which in some cases is prolly REALLY bad

)