Path: 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 > 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