Mail Archives: djgpp/1998/05/29/23:19:40
John M. Aldrich escreveu:
>
> Tihomir wrote:
> >
> > Hello friends !
> > I have one LIB file that works fine with BORLANDC but I want to use
> > those function (from taht LIB) im my program that will be written
> > in DJGPP because DJGPP (in DPMI) have not such problems with memory.
> > Is tehre a way how to translate that 16bit LIB file in such file that
> > can be linked with other 32bit code with DJGPP _?
> > Or is there a way of linking and calling 16bit function which work in
> > real mode ?
>
> There is no way to do what you describe
There is a desesperate way. Build a TSR (Terminate and Stay
Resident) program with Borland. This program is just a little
main() installing a interrupt handler. This interrupt handler
drives the parameters back and forth to the Borland library that
is to be linked with this little .EXE . At the DJGPP side you
can call this TSR invoking the interrupt services.
This is a bad solution, althought i think it works. A better
one is to seek a genuine DJGPP library, of course.
I hope it helps.
P.S.: Excuse my english. I'm brasilian.
- Raw text -