Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!usc!ucsd!ucbvax!agate!ucbarpa.Berkeley.EDU!nj From: nj@ucbarpa.Berkeley.EDU (Narciso Jaramillo) Newsgroups: comp.sys.amiga.tech Subject: Problems with the req.library Message-ID: <1990Oct10.211950.12420@agate.berkeley.edu> Date: 10 Oct 90 21:19:50 GMT Sender: usenet@agate.berkeley.edu (USENET Administrator) Reply-To: nj@ucbarpa.Berkeley.EDU (...) Organization: University of California, Berkeley Lines: 21 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