Path: utzoo!attcan!uunet!cbmvax!bryce
From: bryce@cbmvax.UUCP (Bryce Nesbitt)
Newsgroups: comp.sys.amiga
Subject: Re: trouble opening intuition.library
Message-ID: <5325@cbmvax.UUCP>
Date: 28 Nov 88 06:00:45 GMT
References: <5679@louie.udel.EDU>
Reply-To: bryce@cbmvax.UUCP (Bryce Nesbitt)
Organization: Commodore Technology, West Chester, PA
Lines: 16

In article <5679@louie.udel.EDU> (lois mermelstein) writes:
>
>IntuitionBase = (struct IntuitionBase *)OpenLibrary("intuition.library",
>	INTUITION_REV);
>
>I'm using Manx 3.6A with the default c.lib (16 bit ints)

Whenever you use Manx in 16 bit, have a...

#include "functions.h"

...line!  Unless the function are declared as returning pointers,
Manx treats them as returning ints (16 bits).  For the OpenLibrary
case, the required declaration would be:

struct Library *OpenLibrary();