[fpc-pascal]DXE demo uploaded
Aitor Santamaria Merino
aitor.sm at terra.es
Fri Aug 10 01:34:49 CEST 2001
> The DXE unit (that supports unloading) is on
>
> http://www.stack.nl/~marcov/dxe.pp
Thanks, let's see if I can have some time to make tests...
> > > .DXE's also have the disadvantage that they need some memory to
> > > initialise(and relocate).
> > 32 bit programs tend to eat few of the convenctional memory anyway...
> >
> > A new one: Can I use DJGPP's DXE's from a FPK program, and conversely?
>
> At the moment, yes, but watch your calling conventions, just like usual when
> interfacing with C.
>
> In the future I'll have to stuff more info into the DXE, and it will become
> incompatible. But that "incompatible" stuff will be implementable in DJGPP
> too.
Ok, for the moment I don't care, I am more interested in having
something working properly for FreePascal. But it's interesting that
this is also possible.
What I would like is to have at least a main program, which can load
certain amount of DXEs, so that any of the DXEs (and the main program)
can acceed to data stored by any other DXE (or main program), even if I
need to design a whole engineery of pointers going here and there. And
for the moment, it looks quite good.
The only serious (but not critical) obstacle that I see is the unability
to USE other UNITs in one of these DLL, which will make my life somewhat
more complicated and tedious. But I will be watching with patience to
whichever changes and improvements are made. I would be grateful if you
could announce any change in the list, Marco. For the moment, let's see
if I get some spare time to download that unit, and I can make some
tests. If you want to have some feedback (maybe in private) related to
the DXE development, or any other possible collaboration, let me know.
Many thanks, and keep up the good job!
Aitor
More information about the fpc-pascal
mailing list