Mail Archives: djgpp/2000/06/20/22:15:27
Eli Zaretskii wrote:
>
> > From: Krogg <krogg DOT no DOT to DOT spam AT gtcom DOT net>
> > Newsgroups: comp.os.msdos.djgpp
> > Date: Mon, 19 Jun 2000 19:48:07 -0400
> >
> > lets say i have a program that draws random circles on the screen,
> > or random rectangles.The user can select from a list what
> > kind of thing to draw,circles or rectangles.But i want to
> > add new things in the future,like say triangles or heart
> > shapes,but i dont want to make the users download the WHOLE
> > darn package,just a plug-in for the new shapes....Is this
> > possible?Can i do something like this with DXE?...
>
> Yes, you can in principle use DXE for this. However, DXE is
> intentionally limited, so if you want to write loadable modules with
> it, you will need to employ some tricks; see section 22.15 of the FAQ
> for more details.
Well,i figured DXE was limited in this,I had allready read
the FAQ about it....Looked like a super pain to use in the
manner i would want......
> Alternatively, you could use the DLX package which is more versatile.
AH ha...I found that:
http://nanosoft.hypermart.net/
and DLM:
http://www.fukt.hk-r.se/~flognat/hacks/DLM/
I think there is hope after all,though both of them
have rather little in the way of docs and how to's.I guess
i will have to play around with using them for a while
b4 i can integrate the idea into my projects...
> > Is there a way to compile a little bit of code for a
> > drawing function and load it in memory and call it
> > from my program in a way that it could access global
> > varibles or other functions from my main program...
>
> It's possible, but you will have to reinvent what DXE and DLX already
> do for you: how to resolve addresses in loadable modules. Given an
> address, you just need an lcall instruction to call the code; figuring
> out the address is the hard part.
Ok,I was just grasping at straws here.I am glad that there
is DLX and DLM to play with.
Does anybody know of any other packages like these or
any more info or how to's related to them OR even tools
that help in using them...?
Thanks,
Krogg.
--
|"""""<`.THE PRINCE ,'>"""""""""""""""""""""""""""""""""""|
| `.`/""""""\,',' my sig is too big, |
|SEE HIS ( / \ \' SEE HIS but its really cool. |
| FACE \/<> <>\/ SMILE |
| / W \ Visit my ascii art site: |
| ,'\_|||||_/`. http://www.gtcom.net/~krogg/ascii/ |
| ,',' ||| `.`. krogg DOT no DOT to DOT spam AT gtcom DOT net |
|____<,' TIME TO DIE `.>____Remove no.to.spam to reply____|
- Raw text -