--- Tony Kuiper <[EMAIL PROTECTED]> wrote:
> > Has anyone tried to do modular programming with rom?  So that instead of
> > making a change the program, and having to "recompile" every time u make
> > a change and have to "restart" the whole entire mud to make changes,
> > just do a reload of the module?
> >
> > I was thinkin about it tonight. And was thinkin about making a modular
> > based snippet to allow for this.
> >
> > What I would like would be some ideas/oppinions/suggestions on what you
> > all think about this and what you'd like to see in such a project. Any
> > help would appreciated. Even critisizm would be helpful.  :)
> >
> >
> > Thanks for your time,
> > Rheede
> >
> 
>     Myself, well... yes and no...
>     About a year ago, I tried making a modular DLL "plugin" system with
> cygwin and a heavily, heavily modified rom.  I had tried using DLLs for the
> modules but ran into problems debugging the function calls into the DLL.
> (Maybe I should have tried with VC++ instead of cygwin?)
>     The plugin system used a text file (CSV actually) to list commands,
> their attributes, the DLL name, and the function names inside the DLL
> associated with the command and basically everything that once was inside
> the Command Table - function calls were bound dynamically and were (of
> course) all of type DO_FUN, etc.  It worked nicely, except for the standard
> Windows problem of not being able to overwrite a file in use - in this case
> the DLLs.  This kinda defeated the idea of a hot-pluggable command system
> tho. :-/  If I could have figured out a way to force unload the DLL between
> function calls, then this wouldn't have been a problem!  Maybe I just wasn't
> doing something right...

Ah the foibles of using windows. *nix doesn't have this problem, I'd suggest
you try it with a different OS.

~Kender

=====
-----BEGIN GEEK CODE BLOCK-----
Version 3.1
GCS/L/C/O d-(+) s++: a-- C+++$>++++ UBLS++++$ 
P+++(--)$ L+++>++++ E--- W+>++$ N !o K? w(--) !O 
M- !V PS+ PE(++) Y+ PGP->+ t+ 5 X+() R(+) tv+@ 
b++(+++) !DI+++ D G(-) e>+++$ h---() r+++ y+++
------END GEEK CODE BLOCK------

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

Reply via email to