🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #7404

Re: Problem with OpenLibrary() under 2.0

#7404
From: Ross Cunniff
Date: Tue, 11 Dec 1990 21:56
25 lines
1324 bytes
> void OpenLibrary();                            
  ^^^^ Umm, you definitely mean void *, or struct Library *, here.
                                               
> if (!(IntuitionBase = (struct IntuitionBase *) 
>    OpenLibrary("intuition.library")))          

> This ain't working.  Manx 5.0d tells me that there's an invalid type
> conversion
> in the if statement, right on the second close paren after the actual 
> OpenLibrary() call.  I thought maybe it was that I was passing it an old 
> version number (I was passing 0L as the version number right after the first
> arguement), but taking it out didn't make a bit of difference.  What am I 
> missing?

See above.

> Thanks,

You're welcome.

> -- Frank McPherson                  INTERNET: fmcphers@vttcf.cc.vt.edu --

				Ross Cunniff
				Hewlett-Packard Colorado Language Lab
				cunniff@hpfcla.HP.COM
Technical Details
Message-ID: <9310015@hpfcso.HP.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!agate!shelby!unix!hplabs!hpfcso!cunniff
References: <9012101903.AA146539@vttcf.cc.vt.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uwm.edu!bionet!agate!shelby!unix!hplabs!hpfcso!cunniff
From: cunniff@hpfcso.HP.COM (Ross Cunniff)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Problem with OpenLibrary() under 2.0
Message-ID: <9310015@hpfcso.HP.COM>
Date: 11 Dec 90 21:56:36 GMT
References: <9012101903.AA146539@vttcf.cc.vt.edu>
Organization: Hewlett-Packard, Fort Collins, CO, USA
Lines: 25