Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!rutgers!njin!princeton!udel!mmdf From: mermelstein%tel.inrs.cdn@relay.ubc.ca (lois mermelstein) Newsgroups: comp.sys.amiga Subject: trouble opening intuition.library Message-ID: <5679@louie.udel.EDU> Date: 27 Nov 88 20:06:45 GMT Sender: mmdf@udel.EDU Lines: 33 Help -- I'm having serious trouble opening the intuition.library (so I can open windows onto Workbench, etc.) I'm using code like: struct IntuitionBase *IntuitionBase; #define INTUITION_REV /*either 33, 0, 33L, or 0L */ main() { IntuitionBase = (struct IntuitionBase *)OpenLibrary("intuition.library", INTUITION_REV); if (IntuitionBase == NULL) { printf("Couldn't open lib.\n"); exit() } When the constant INUITION_REV is set to 33 or 0, I simply get "Couldn't open lib." from the printf. When I set it to 33L or 0L, I get "software error -- task held", with a guru number of "#0000000A.00C [plus some other numbers]. I'm using Manx 3.6A with the default c.lib (16 bit ints) on a 2-floppy B2000 that's completely vanilla (nothing else running, nothing bizarre in the startup-sequence). I've also tried variations on this code from books like Mortimore's Amiga Programmer's Handbook and some examples I have from Rob Peck's book -- results are no better. Any ideas? Any help would be mucho appreciated. Lois Mermelstein mermelstein@tel.inrs.cdn