www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/05/29/23:19:40

Message-ID: <356F6046.AADBA9D7@uol.com.br>
Date: Fri, 29 May 1998 22:26:30 -0300
From: "Juciê Dias Andrade" <jucie AT uol DOT com DOT br>
MIME-Version: 1.0
To: "John M. Aldrich" <fighteer AT cs DOT com>
CC: djgpp AT delorie DOT com
Subject: Re: Borland LIB and DJGPP HOW _?
References: <4321 AT 9A0TCP> <356F3203 DOT 2702 AT cs DOT com>

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 -


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