Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!van-bc!rsoft!mindlink!a464 From: a464@mindlink.UUCP (Bruce Dawson) Newsgroups: comp.sys.amiga.tech Subject: Re: Opening dos.library in C Message-ID: <1462@mindlink.UUCP> Date: 10 Apr 90 23:01:10 GMT Organization: MIND LINK! - British Columbia, Canada Lines: 46 > peraue@cs.vu.nl writes: > > Msg-ID: <6287@star.cs.vu.nl> > Posted: 11 Apr 90 12:16:19 GMT > > Org. : Fac. Wiskunde & Informatica, VU, Amsterdam > Person: Raue Paul Erik > > Since no-one seemed to be able to supply me with a glue routine for the > requester-library for Aztec C5.0, I tried writing my own file-requester.... > _______ _______ _______ > +-----------------+--------------------+ > / ___ /\ / _____/\ / ___ /\ | peraue@cs.vu.nl | Quote by > DD.Linder | > / /\_/ /_/___ / /\____\/ / /\_/ / / > +-----------------+--------------------+ > / _____//____// ____/\ / __ _/ / | real programmers don't document > code | > / /\____\\____/ /\___\/_ / /\_\ \\/ | if it was hard to write, it should > | > /_/ / /______//_//_/ / \_\ | be hard to read. | > \_\/ \______\\_\\_\/ \_\ +--------------------------------------+ The source to the req.library glue code should be included in the distribution package. So, you should be able to reassemble for Aztec 5.0. If not, it is certainly far easier to roll your own glue code than to write a whole new file requester. Here is a bit of glue code for the file requester and purge files functions (note - these glue code fragments trash A6. Aztec 3.6 allowed this, but I don't know about Lattice or Aztec 5.0). _FileRequest MOVE.L 4(SP),A0 MOVE.L _ReqBase,A6 JSR _LVOFileRequest(A6) RTS _PurgeFiles MOVE.L 4(SP),A0 MOVE.L _ReqBase,A6 JSR _LVOFileRequest(A6) RTS I hope this helps. If you need any more help, e-mail me. .Bruce Dawson, one of the req.library authors.