Article View: comp.sys.amiga.tech
Article #3287Re: Opening dos.library in C
From: Simon Raybould
Date: Thu, 12 Apr 1990 09:01
Date: Thu, 12 Apr 1990 09:01
25 lines
1477 bytes
1477 bytes
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 |
+-=-=-=-=-=-=-=-=-=-=-=-=-=-=+=-=-=-=-=-=+=-=-=-=-=-=-=-=-=-=-=-=-=-+
Technical Details
Message-ID:
<ANQ#D4#@masalla.fulcrum.bt.co.uk>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!mcsun!ukc!axion!masalla.fulcrum.bt.co.uk!sieReferences:
<6287@star.cs.vu.nl> <17697@ultima.cs.uts.oz>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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: <ANQ#D4#@masalla.fulcrum.bt.co.uk> 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