[comp.sys.amiga.tech] Problems with the req.library

nj@ucbarpa.Berkeley.EDU (Narciso Jaramillo) (10/11/90)

Has anyone had any luck with the MakeGadget and MakeString functions
in the req.library recently posted to comp.sources.amiga?  I'm using
Lattice C V5.05 and linking with lreqglue.o.  If I use the LinkGadget
and LinkStringGadget functions, the gadgets work fine.  However, I need
to use the Make* functions because I want to put the gadgets in a
requester, and they simply don't work.

I don't think it's the fault of my requester code: I used CPR to
examine my StringBlock structure immediately after the call to
MakeString, and the position values were all random garbage, whereas
they were correct immediately after LinkStringGadget.  Thus, I suspect
it's a problem with the Lattice glue code for the Make* functions.
However, not being an assembly language type, I couldn't figure out
exactly how to fix it, and couldn't find the offsets to make #pragmas.

Please feel free to post or email responses (preferably the latter if
it's a simple answer and I'm just too stupid to realize it).

--
nj							nj@arpa.Berkeley.EDU