Path: utzoo!attcan!uunet!mcsun!ukc!axion!masalla.fulcrum.bt.co.uk!sie From: S.J.Raybould@fulcrum.bt.co.uk (Simon Raybould) Newsgroups: comp.sys.amiga.tech Subject: Re: Opening dos.library in C Message-ID: Date: 12 Apr 90 09:01:35 GMT References: <6287@star.cs.vu.nl> <17697@ultima.cs.uts.oz> Reply-To: sie@fulcrum.bt.co.uk (Simon Raybould) Organization: BT Fulcrum, Birmingham, England Lines: 25 In article <17697@ultima.cs.uts.oz> vilkas@ultima.cs.uts.oz (Peter Sumskas) writes: >peraue@cs.vu.nl (Raue Paul Erik) writes: > >Aztec C opens the dos.library to begin with so that it can do the printf's > No it dosn't, its done by the startup code, What if he doesn't want to use the startup code, which is obviously the case?? you should define 'DosBase' as a global. Note th euppercase D and B. then call DosBase = OpenLibrary("dos.library",..); e.t.c. That should do the trick, I havn't tried it but I will. +-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | British Telecom Fulcrum | name : Simon John Raybould {^.^} | | Fordrough Lane | path : sie@fulcrum.bt.co.uk \~/ | | Birmingham +-----------+--------------------------| | B9 5LD | // | AMIGA B2000HD 3MB 8088BB | | ENGLAND | \X/AMIGA | Lattice C V5.05 | +-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-+