www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/20/22:15:27

Message-ID: <394FF01D.C6E3B5AC@gtcom.net>
From: Krogg <krogg DOT no DOT to DOT spam AT gtcom DOT net>
X-Mailer: Mozilla 4.61 [en] (Win95; U)
X-Accept-Language: en,en-US,en-GB,ja,af
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Plug-ins......?
References: <394EB136 DOT E5476269 AT gtcom DOT net> <200006201804 DOT VAA02254 AT mailgw1 DOT netvision DOT net DOT il>
Lines: 70
Date: Tue, 20 Jun 2000 18:28:45 -0400
NNTP-Posting-Host: 12.16.179.203
X-Trace: eagle.america.net 961540159 12.16.179.203 (Tue, 20 Jun 2000 18:29:19 EDT)
NNTP-Posting-Date: Tue, 20 Jun 2000 18:29:19 EDT
Organization: 24hoursupport.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019