Welcome, Guest. Please login or register.

Author Topic: Help with OpenLibrary()  (Read 4392 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline pjhutch

  • Sr. Member
  • ****
  • Join Date: Mar 2002
  • Posts: 452
  • Country: england
  • Gender: Male
  • Amiga user and developer
    • Show all replies
    • http://www.pjhutchison.org
Re: Help with OpenLibrary()
« on: March 07, 2004, 04:39:36 PM »
CloseLibrary requires a pointer of type Library. So you need to cast IntuitionBase as a library.
e.g.
CloseLibrary((struct Library *)IntuitionBase);

Then it should compile ok.